﻿


using System;
using System.Data;
using System.Data.Common;
using MySoft.Data;
using MySoft.Data.Common;

namespace C.Entities
{
	
	#region 实体类Adm_BASICD
    /// <summary>
	/// 实体类Adm_BASICD 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_BASICD : Entity 
	{
	 /// <summary>
	/// 实体类Adm_BASICD 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_BASICD():base("Adm_BASICD") {}

		#region Model

		
		private int _ID;
		
		private string _MaterNo;
		
		private string _MaterTitle;
		
		private string _MaterColor;
		
		private string _MaterBrand;
		
		private string _MaterModel;
		
		private string _MaterUnit;
		
		private int? _INVQTY;
		
		private int? _BATYPE;
		
		private string _DESTXT;
		
		private string _BAUNIT;
		
		private string _TipTitle;
		
		private DateTime? _TipData;
		
		private string _TipMail;
		
		private int? _USERID;
		
		private string _REMARK;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 物资编号
		/// </summary>
		public string MaterNo
		{
			get{ return _MaterNo; }
			set
			{
				this.OnPropertyValueChange(_.MaterNo,_MaterNo,value);
				this._MaterNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterTitle
		{
			get{ return _MaterTitle; }
			set
			{
				this.OnPropertyValueChange(_.MaterTitle,_MaterTitle,value);
				this._MaterTitle=value;
			}
		}

		
		/// <summary>
		/// 物料颜色
		/// </summary>
		public string MaterColor
		{
			get{ return _MaterColor; }
			set
			{
				this.OnPropertyValueChange(_.MaterColor,_MaterColor,value);
				this._MaterColor=value;
			}
		}

		
		/// <summary>
		/// 品牌
		/// </summary>
		public string MaterBrand
		{
			get{ return _MaterBrand; }
			set
			{
				this.OnPropertyValueChange(_.MaterBrand,_MaterBrand,value);
				this._MaterBrand=value;
			}
		}

		
		/// <summary>
		/// 物料规格
		/// </summary>
		public string MaterModel
		{
			get{ return _MaterModel; }
			set
			{
				this.OnPropertyValueChange(_.MaterModel,_MaterModel,value);
				this._MaterModel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterUnit
		{
			get{ return _MaterUnit; }
			set
			{
				this.OnPropertyValueChange(_.MaterUnit,_MaterUnit,value);
				this._MaterUnit=value;
			}
		}

		
		/// <summary>
		/// 库存数量
		/// </summary>
		public int? INVQTY
		{
			get{ return _INVQTY; }
			set
			{
				this.OnPropertyValueChange(_.INVQTY,_INVQTY,value);
				this._INVQTY=value;
			}
		}

		
		/// <summary>
		/// 物料基础类型
		/// </summary>
		public int? BATYPE
		{
			get{ return _BATYPE; }
			set
			{
				this.OnPropertyValueChange(_.BATYPE,_BATYPE,value);
				this._BATYPE=value;
			}
		}

		
		/// <summary>
		/// 物料描述
		/// </summary>
		public string DESTXT
		{
			get{ return _DESTXT; }
			set
			{
				this.OnPropertyValueChange(_.DESTXT,_DESTXT,value);
				this._DESTXT=value;
			}
		}

		
		/// <summary>
		/// 基本单位
		/// </summary>
		public string BAUNIT
		{
			get{ return _BAUNIT; }
			set
			{
				this.OnPropertyValueChange(_.BAUNIT,_BAUNIT,value);
				this._BAUNIT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipTitle
		{
			get{ return _TipTitle; }
			set
			{
				this.OnPropertyValueChange(_.TipTitle,_TipTitle,value);
				this._TipTitle=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? TipData
		{
			get{ return _TipData; }
			set
			{
				this.OnPropertyValueChange(_.TipData,_TipData,value);
				this._TipData=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipMail
		{
			get{ return _TipMail; }
			set
			{
				this.OnPropertyValueChange(_.TipMail,_TipMail,value);
				this._TipMail=value;
			}
		}

		
		/// <summary>
		/// 创建者账号
		/// </summary>
		public int? USERID
		{
			get{ return _USERID; }
			set
			{
				this.OnPropertyValueChange(_.USERID,_USERID,value);
				this._USERID=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.MaterNo,

			
			_.MaterTitle,

			
			_.MaterColor,

			
			_.MaterBrand,

			
			_.MaterModel,

			
			_.MaterUnit,

			
			_.INVQTY,

			
			_.BATYPE,

			
			_.DESTXT,

			
			_.BAUNIT,

			
			_.TipTitle,

			
			_.TipData,

			
			_.TipMail,

			
			_.USERID,

			
			_.REMARK

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._MaterNo,

			
			this._MaterTitle,

			
			this._MaterColor,

			
			this._MaterBrand,

			
			this._MaterModel,

			
			this._MaterUnit,

			
			this._INVQTY,

			
			this._BATYPE,

			
			this._DESTXT,

			
			this._BAUNIT,

			
			this._TipTitle,

			
			this._TipData,

			
			this._TipMail,

			
			this._USERID,

			
			this._REMARK

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._MaterNo = DataUtils.ConvertValue<string>(reader["MaterNo"]);
						this._MaterTitle = DataUtils.ConvertValue<string>(reader["MaterTitle"]);
						this._MaterColor = DataUtils.ConvertValue<string>(reader["MaterColor"]);
						this._MaterBrand = DataUtils.ConvertValue<string>(reader["MaterBrand"]);
						this._MaterModel = DataUtils.ConvertValue<string>(reader["MaterModel"]);
						this._MaterUnit = DataUtils.ConvertValue<string>(reader["MaterUnit"]);
						this._INVQTY = DataUtils.ConvertValue<int?>(reader["INVQTY"]);
						this._BATYPE = DataUtils.ConvertValue<int?>(reader["BATYPE"]);
						this._DESTXT = DataUtils.ConvertValue<string>(reader["DESTXT"]);
						this._BAUNIT = DataUtils.ConvertValue<string>(reader["BAUNIT"]);
						this._TipTitle = DataUtils.ConvertValue<string>(reader["TipTitle"]);
						this._TipData = DataUtils.ConvertValue<DateTime?>(reader["TipData"]);
						this._TipMail = DataUtils.ConvertValue<string>(reader["TipMail"]);
						this._USERID = DataUtils.ConvertValue<int?>(reader["USERID"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._MaterNo = DataUtils.ConvertValue<string>(row["MaterNo"]);
					this._MaterTitle = DataUtils.ConvertValue<string>(row["MaterTitle"]);
					this._MaterColor = DataUtils.ConvertValue<string>(row["MaterColor"]);
					this._MaterBrand = DataUtils.ConvertValue<string>(row["MaterBrand"]);
					this._MaterModel = DataUtils.ConvertValue<string>(row["MaterModel"]);
					this._MaterUnit = DataUtils.ConvertValue<string>(row["MaterUnit"]);
					this._INVQTY = DataUtils.ConvertValue<int?>(row["INVQTY"]);
					this._BATYPE = DataUtils.ConvertValue<int?>(row["BATYPE"]);
					this._DESTXT = DataUtils.ConvertValue<string>(row["DESTXT"]);
					this._BAUNIT = DataUtils.ConvertValue<string>(row["BAUNIT"]);
					this._TipTitle = DataUtils.ConvertValue<string>(row["TipTitle"]);
					this._TipData = DataUtils.ConvertValue<DateTime?>(row["TipData"]);
					this._TipMail = DataUtils.ConvertValue<string>(row["TipMail"]);
					this._USERID = DataUtils.ConvertValue<int?>(row["USERID"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_BASICD");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_BASICD","唯一标识");
					/// <summary>
			/// 物资编号
			/// </summary>
			public readonly static Field MaterNo = new Field("MaterNo","Adm_BASICD","物资编号");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterTitle = new Field("MaterTitle","Adm_BASICD","");
					/// <summary>
			/// 物料颜色
			/// </summary>
			public readonly static Field MaterColor = new Field("MaterColor","Adm_BASICD","物料颜色");
					/// <summary>
			/// 品牌
			/// </summary>
			public readonly static Field MaterBrand = new Field("MaterBrand","Adm_BASICD","品牌");
					/// <summary>
			/// 物料规格
			/// </summary>
			public readonly static Field MaterModel = new Field("MaterModel","Adm_BASICD","物料规格");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterUnit = new Field("MaterUnit","Adm_BASICD","");
					/// <summary>
			/// 库存数量
			/// </summary>
			public readonly static Field INVQTY = new Field("INVQTY","Adm_BASICD","库存数量");
					/// <summary>
			/// 物料基础类型
			/// </summary>
			public readonly static Field BATYPE = new Field("BATYPE","Adm_BASICD","物料基础类型");
					/// <summary>
			/// 物料描述
			/// </summary>
			public readonly static Field DESTXT = new Field("DESTXT","Adm_BASICD","物料描述");
					/// <summary>
			/// 基本单位
			/// </summary>
			public readonly static Field BAUNIT = new Field("BAUNIT","Adm_BASICD","基本单位");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipTitle = new Field("TipTitle","Adm_BASICD","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipData = new Field("TipData","Adm_BASICD","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipMail = new Field("TipMail","Adm_BASICD","");
					/// <summary>
			/// 创建者账号
			/// </summary>
			public readonly static Field USERID = new Field("USERID","Adm_BASICD","创建者账号");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Adm_BASICD","备注");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_BUDGET
    /// <summary>
	/// 实体类Adm_BUDGET 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_BUDGET : Entity 
	{
	 /// <summary>
	/// 实体类Adm_BUDGET 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_BUDGET():base("Adm_BUDGET") {}

		#region Model

		
		private int _ID;
		
		private int? _YERNUB;
		
		private string _BDTYPE;
		
		private decimal? _AMOUNT;
		
		private string _REMARK;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 年份
		/// </summary>
		public int? YERNUB
		{
			get{ return _YERNUB; }
			set
			{
				this.OnPropertyValueChange(_.YERNUB,_YERNUB,value);
				this._YERNUB=value;
			}
		}

		
		/// <summary>
		/// 预算类型
		/// </summary>
		public string BDTYPE
		{
			get{ return _BDTYPE; }
			set
			{
				this.OnPropertyValueChange(_.BDTYPE,_BDTYPE,value);
				this._BDTYPE=value;
			}
		}

		
		/// <summary>
		/// AMOUNT
		/// </summary>
		public decimal? AMOUNT
		{
			get{ return _AMOUNT; }
			set
			{
				this.OnPropertyValueChange(_.AMOUNT,_AMOUNT,value);
				this._AMOUNT=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.YERNUB,

			
			_.BDTYPE,

			
			_.AMOUNT,

			
			_.REMARK

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._YERNUB,

			
			this._BDTYPE,

			
			this._AMOUNT,

			
			this._REMARK

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._YERNUB = DataUtils.ConvertValue<int?>(reader["YERNUB"]);
						this._BDTYPE = DataUtils.ConvertValue<string>(reader["BDTYPE"]);
						this._AMOUNT = DataUtils.ConvertValue<decimal?>(reader["AMOUNT"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._YERNUB = DataUtils.ConvertValue<int?>(row["YERNUB"]);
					this._BDTYPE = DataUtils.ConvertValue<string>(row["BDTYPE"]);
					this._AMOUNT = DataUtils.ConvertValue<decimal?>(row["AMOUNT"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_BUDGET");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_BUDGET","唯一标识");
					/// <summary>
			/// 年份
			/// </summary>
			public readonly static Field YERNUB = new Field("YERNUB","Adm_BUDGET","年份");
					/// <summary>
			/// 预算类型
			/// </summary>
			public readonly static Field BDTYPE = new Field("BDTYPE","Adm_BUDGET","预算类型");
					/// <summary>
			/// AMOUNT
			/// </summary>
			public readonly static Field AMOUNT = new Field("AMOUNT","Adm_BUDGET","AMOUNT");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Adm_BUDGET","备注说明");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_EXPNSE
    /// <summary>
	/// 实体类Adm_EXPNSE 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_EXPNSE : Entity 
	{
	 /// <summary>
	/// 实体类Adm_EXPNSE 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_EXPNSE():base("Adm_EXPNSE") {}

		#region Model

		
		private int _ID;
		
		private string _USRNAM;
		
		private string _EXTYPE;
		
		private int? _SUBTYP;
		
		private decimal? _AMOUNT;
		
		private DateTime? _PLDATE;
		
		private DateTime? _APDATE;
		
		private int? _STATUS;
		
		private bool? _CHKBUG;
		
		private string _REMARK;
		
		private string _Auditer;
		
		private string _AuditEmpNO;
		
		private int? _Adduid;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _MoneyType;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 费用申请人
		/// </summary>
		public string USRNAM
		{
			get{ return _USRNAM; }
			set
			{
				this.OnPropertyValueChange(_.USRNAM,_USRNAM,value);
				this._USRNAM=value;
			}
		}

		
		/// <summary>
		/// 费用大类
		/// </summary>
		public string EXTYPE
		{
			get{ return _EXTYPE; }
			set
			{
				this.OnPropertyValueChange(_.EXTYPE,_EXTYPE,value);
				this._EXTYPE=value;
			}
		}

		
		/// <summary>
		/// 费用小类
		/// </summary>
		public int? SUBTYP
		{
			get{ return _SUBTYP; }
			set
			{
				this.OnPropertyValueChange(_.SUBTYP,_SUBTYP,value);
				this._SUBTYP=value;
			}
		}

		
		/// <summary>
		/// 费用金额
		/// </summary>
		public decimal? AMOUNT
		{
			get{ return _AMOUNT; }
			set
			{
				this.OnPropertyValueChange(_.AMOUNT,_AMOUNT,value);
				this._AMOUNT=value;
			}
		}

		
		/// <summary>
		/// 使用日期
		/// </summary>
		public DateTime? PLDATE
		{
			get{ return _PLDATE; }
			set
			{
				this.OnPropertyValueChange(_.PLDATE,_PLDATE,value);
				this._PLDATE=value;
			}
		}

		
		/// <summary>
		/// 申请日期
		/// </summary>
		public DateTime? APDATE
		{
			get{ return _APDATE; }
			set
			{
				this.OnPropertyValueChange(_.APDATE,_APDATE,value);
				this._APDATE=value;
			}
		}

		
		/// <summary>
		/// 审批状态
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 是否在预算内
		/// </summary>
		public bool? CHKBUG
		{
			get{ return _CHKBUG; }
			set
			{
				this.OnPropertyValueChange(_.CHKBUG,_CHKBUG,value);
				this._CHKBUG=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 审核人
		/// </summary>
		public string Auditer
		{
			get{ return _Auditer; }
			set
			{
				this.OnPropertyValueChange(_.Auditer,_Auditer,value);
				this._Auditer=value;
			}
		}

		
		/// <summary>
		/// 审核人ID
		/// </summary>
		public string AuditEmpNO
		{
			get{ return _AuditEmpNO; }
			set
			{
				this.OnPropertyValueChange(_.AuditEmpNO,_AuditEmpNO,value);
				this._AuditEmpNO=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Adduid
		{
			get{ return _Adduid; }
			set
			{
				this.OnPropertyValueChange(_.Adduid,_Adduid,value);
				this._Adduid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MoneyType
		{
			get{ return _MoneyType; }
			set
			{
				this.OnPropertyValueChange(_.MoneyType,_MoneyType,value);
				this._MoneyType=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.USRNAM,

			
			_.EXTYPE,

			
			_.SUBTYP,

			
			_.AMOUNT,

			
			_.PLDATE,

			
			_.APDATE,

			
			_.STATUS,

			
			_.CHKBUG,

			
			_.REMARK,

			
			_.Auditer,

			
			_.AuditEmpNO,

			
			_.Adduid,

			
			_.Adder,

			
			_.AddTime,

			
			_.MoneyType

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._USRNAM,

			
			this._EXTYPE,

			
			this._SUBTYP,

			
			this._AMOUNT,

			
			this._PLDATE,

			
			this._APDATE,

			
			this._STATUS,

			
			this._CHKBUG,

			
			this._REMARK,

			
			this._Auditer,

			
			this._AuditEmpNO,

			
			this._Adduid,

			
			this._Adder,

			
			this._AddTime,

			
			this._MoneyType

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._USRNAM = DataUtils.ConvertValue<string>(reader["USRNAM"]);
						this._EXTYPE = DataUtils.ConvertValue<string>(reader["EXTYPE"]);
						this._SUBTYP = DataUtils.ConvertValue<int?>(reader["SUBTYP"]);
						this._AMOUNT = DataUtils.ConvertValue<decimal?>(reader["AMOUNT"]);
						this._PLDATE = DataUtils.ConvertValue<DateTime?>(reader["PLDATE"]);
						this._APDATE = DataUtils.ConvertValue<DateTime?>(reader["APDATE"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._CHKBUG = DataUtils.ConvertValue<bool?>(reader["CHKBUG"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._Auditer = DataUtils.ConvertValue<string>(reader["Auditer"]);
						this._AuditEmpNO = DataUtils.ConvertValue<string>(reader["AuditEmpNO"]);
						this._Adduid = DataUtils.ConvertValue<int?>(reader["Adduid"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._MoneyType = DataUtils.ConvertValue<string>(reader["MoneyType"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._USRNAM = DataUtils.ConvertValue<string>(row["USRNAM"]);
					this._EXTYPE = DataUtils.ConvertValue<string>(row["EXTYPE"]);
					this._SUBTYP = DataUtils.ConvertValue<int?>(row["SUBTYP"]);
					this._AMOUNT = DataUtils.ConvertValue<decimal?>(row["AMOUNT"]);
					this._PLDATE = DataUtils.ConvertValue<DateTime?>(row["PLDATE"]);
					this._APDATE = DataUtils.ConvertValue<DateTime?>(row["APDATE"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._CHKBUG = DataUtils.ConvertValue<bool?>(row["CHKBUG"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._Auditer = DataUtils.ConvertValue<string>(row["Auditer"]);
					this._AuditEmpNO = DataUtils.ConvertValue<string>(row["AuditEmpNO"]);
					this._Adduid = DataUtils.ConvertValue<int?>(row["Adduid"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._MoneyType = DataUtils.ConvertValue<string>(row["MoneyType"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_EXPNSE");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_EXPNSE","唯一标识");
					/// <summary>
			/// 费用申请人
			/// </summary>
			public readonly static Field USRNAM = new Field("USRNAM","Adm_EXPNSE","费用申请人");
					/// <summary>
			/// 费用大类
			/// </summary>
			public readonly static Field EXTYPE = new Field("EXTYPE","Adm_EXPNSE","费用大类");
					/// <summary>
			/// 费用小类
			/// </summary>
			public readonly static Field SUBTYP = new Field("SUBTYP","Adm_EXPNSE","费用小类");
					/// <summary>
			/// 费用金额
			/// </summary>
			public readonly static Field AMOUNT = new Field("AMOUNT","Adm_EXPNSE","费用金额");
					/// <summary>
			/// 使用日期
			/// </summary>
			public readonly static Field PLDATE = new Field("PLDATE","Adm_EXPNSE","使用日期");
					/// <summary>
			/// 申请日期
			/// </summary>
			public readonly static Field APDATE = new Field("APDATE","Adm_EXPNSE","申请日期");
					/// <summary>
			/// 审批状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Adm_EXPNSE","审批状态");
					/// <summary>
			/// 是否在预算内
			/// </summary>
			public readonly static Field CHKBUG = new Field("CHKBUG","Adm_EXPNSE","是否在预算内");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Adm_EXPNSE","备注说明");
					/// <summary>
			/// 审核人
			/// </summary>
			public readonly static Field Auditer = new Field("Auditer","Adm_EXPNSE","审核人");
					/// <summary>
			/// 审核人ID
			/// </summary>
			public readonly static Field AuditEmpNO = new Field("AuditEmpNO","Adm_EXPNSE","审核人ID");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adduid = new Field("Adduid","Adm_EXPNSE","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Adm_EXPNSE","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Adm_EXPNSE","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MoneyType = new Field("MoneyType","Adm_EXPNSE","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_INRECD
    /// <summary>
	/// 实体类Adm_INRECD 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_INRECD : Entity 
	{
	 /// <summary>
	/// 实体类Adm_INRECD 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_INRECD():base("Adm_INRECD") {}

		#region Model

		
		private int _ID;
		
		private DateTime? _AddTime;
		
		private string _MOTYPE;
		
		private int? _MOVQYT;
		
		private string _WHTFOR;
		
		private string _REMARK;
		
		private int? _MATNUBID;
		
		private string _InOutType;
		
		private int? _AddUid;
		
		private string _AddName;
		
		private string _Description;
		
		private decimal? _UPrice;
		
		private string _InRecdNO;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 执行时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 移动类型 
		/// </summary>
		public string MOTYPE
		{
			get{ return _MOTYPE; }
			set
			{
				this.OnPropertyValueChange(_.MOTYPE,_MOTYPE,value);
				this._MOTYPE=value;
			}
		}

		
		/// <summary>
		/// 数量
		/// </summary>
		public int? MOVQYT
		{
			get{ return _MOVQYT; }
			set
			{
				this.OnPropertyValueChange(_.MOVQYT,_MOVQYT,value);
				this._MOVQYT=value;
			}
		}

		
		/// <summary>
		/// 使用目的
		/// </summary>
		public string WHTFOR
		{
			get{ return _WHTFOR; }
			set
			{
				this.OnPropertyValueChange(_.WHTFOR,_WHTFOR,value);
				this._WHTFOR=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 物料ID
		/// </summary>
		public int? MATNUBID
		{
			get{ return _MATNUBID; }
			set
			{
				this.OnPropertyValueChange(_.MATNUBID,_MATNUBID,value);
				this._MATNUBID=value;
			}
		}

		
		/// <summary>
		/// 出入库类型
		/// </summary>
		public string InOutType
		{
			get{ return _InOutType; }
			set
			{
				this.OnPropertyValueChange(_.InOutType,_InOutType,value);
				this._InOutType=value;
			}
		}

		
		/// <summary>
		/// 入库人ID
		/// </summary>
		public int? AddUid
		{
			get{ return _AddUid; }
			set
			{
				this.OnPropertyValueChange(_.AddUid,_AddUid,value);
				this._AddUid=value;
			}
		}

		
		/// <summary>
		/// 入库人姓名 
		/// </summary>
		public string AddName
		{
			get{ return _AddName; }
			set
			{
				this.OnPropertyValueChange(_.AddName,_AddName,value);
				this._AddName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			get{ return _Description; }
			set
			{
				this.OnPropertyValueChange(_.Description,_Description,value);
				this._Description=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? UPrice
		{
			get{ return _UPrice; }
			set
			{
				this.OnPropertyValueChange(_.UPrice,_UPrice,value);
				this._UPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string InRecdNO
		{
			get{ return _InRecdNO; }
			set
			{
				this.OnPropertyValueChange(_.InRecdNO,_InRecdNO,value);
				this._InRecdNO=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.AddTime,

			
			_.MOTYPE,

			
			_.MOVQYT,

			
			_.WHTFOR,

			
			_.REMARK,

			
			_.MATNUBID,

			
			_.InOutType,

			
			_.AddUid,

			
			_.AddName,

			
			_.Description,

			
			_.UPrice,

			
			_.InRecdNO

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._AddTime,

			
			this._MOTYPE,

			
			this._MOVQYT,

			
			this._WHTFOR,

			
			this._REMARK,

			
			this._MATNUBID,

			
			this._InOutType,

			
			this._AddUid,

			
			this._AddName,

			
			this._Description,

			
			this._UPrice,

			
			this._InRecdNO

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._MOTYPE = DataUtils.ConvertValue<string>(reader["MOTYPE"]);
						this._MOVQYT = DataUtils.ConvertValue<int?>(reader["MOVQYT"]);
						this._WHTFOR = DataUtils.ConvertValue<string>(reader["WHTFOR"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._MATNUBID = DataUtils.ConvertValue<int?>(reader["MATNUBID"]);
						this._InOutType = DataUtils.ConvertValue<string>(reader["InOutType"]);
						this._AddUid = DataUtils.ConvertValue<int?>(reader["AddUid"]);
						this._AddName = DataUtils.ConvertValue<string>(reader["AddName"]);
						this._Description = DataUtils.ConvertValue<string>(reader["Description"]);
						this._UPrice = DataUtils.ConvertValue<decimal?>(reader["UPrice"]);
						this._InRecdNO = DataUtils.ConvertValue<string>(reader["InRecdNO"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._MOTYPE = DataUtils.ConvertValue<string>(row["MOTYPE"]);
					this._MOVQYT = DataUtils.ConvertValue<int?>(row["MOVQYT"]);
					this._WHTFOR = DataUtils.ConvertValue<string>(row["WHTFOR"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._MATNUBID = DataUtils.ConvertValue<int?>(row["MATNUBID"]);
					this._InOutType = DataUtils.ConvertValue<string>(row["InOutType"]);
					this._AddUid = DataUtils.ConvertValue<int?>(row["AddUid"]);
					this._AddName = DataUtils.ConvertValue<string>(row["AddName"]);
					this._Description = DataUtils.ConvertValue<string>(row["Description"]);
					this._UPrice = DataUtils.ConvertValue<decimal?>(row["UPrice"]);
					this._InRecdNO = DataUtils.ConvertValue<string>(row["InRecdNO"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_INRECD");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_INRECD","唯一标识");
					/// <summary>
			/// 执行时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Adm_INRECD","执行时间");
					/// <summary>
			/// 移动类型 
			/// </summary>
			public readonly static Field MOTYPE = new Field("MOTYPE","Adm_INRECD","移动类型 ");
					/// <summary>
			/// 数量
			/// </summary>
			public readonly static Field MOVQYT = new Field("MOVQYT","Adm_INRECD","数量");
					/// <summary>
			/// 使用目的
			/// </summary>
			public readonly static Field WHTFOR = new Field("WHTFOR","Adm_INRECD","使用目的");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Adm_INRECD","备注说明");
					/// <summary>
			/// 物料ID
			/// </summary>
			public readonly static Field MATNUBID = new Field("MATNUBID","Adm_INRECD","物料ID");
					/// <summary>
			/// 出入库类型
			/// </summary>
			public readonly static Field InOutType = new Field("InOutType","Adm_INRECD","出入库类型");
					/// <summary>
			/// 入库人ID
			/// </summary>
			public readonly static Field AddUid = new Field("AddUid","Adm_INRECD","入库人ID");
					/// <summary>
			/// 入库人姓名 
			/// </summary>
			public readonly static Field AddName = new Field("AddName","Adm_INRECD","入库人姓名 ");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Description = new Field("Description","Adm_INRECD","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UPrice = new Field("UPrice","Adm_INRECD","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InRecdNO = new Field("InRecdNO","Adm_INRECD","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_InrecdChild
    /// <summary>
	/// 实体类Adm_InrecdChild 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_InrecdChild : Entity 
	{
	 /// <summary>
	/// 实体类Adm_InrecdChild 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_InrecdChild():base("Adm_InrecdChild") {}

		#region Model

		
		private int _ID;
		
		private string _MaterNo;
		
		private int? _InrecdID;
		
		private int? _Quantity;
		
		private string _MatterModel;
		
		private string _MatterBrand;
		
		private string _MatterColor;
		
		private string _Remark;
		
		private decimal? _MatterPrice;
		
		private string _InrecdUnit;
		
		private string _InrecdTitle;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterNo
		{
			get{ return _MaterNo; }
			set
			{
				this.OnPropertyValueChange(_.MaterNo,_MaterNo,value);
				this._MaterNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? InrecdID
		{
			get{ return _InrecdID; }
			set
			{
				this.OnPropertyValueChange(_.InrecdID,_InrecdID,value);
				this._InrecdID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Quantity
		{
			get{ return _Quantity; }
			set
			{
				this.OnPropertyValueChange(_.Quantity,_Quantity,value);
				this._Quantity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterModel
		{
			get{ return _MatterModel; }
			set
			{
				this.OnPropertyValueChange(_.MatterModel,_MatterModel,value);
				this._MatterModel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterBrand
		{
			get{ return _MatterBrand; }
			set
			{
				this.OnPropertyValueChange(_.MatterBrand,_MatterBrand,value);
				this._MatterBrand=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterColor
		{
			get{ return _MatterColor; }
			set
			{
				this.OnPropertyValueChange(_.MatterColor,_MatterColor,value);
				this._MatterColor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			get{ return _Remark; }
			set
			{
				this.OnPropertyValueChange(_.Remark,_Remark,value);
				this._Remark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? MatterPrice
		{
			get{ return _MatterPrice; }
			set
			{
				this.OnPropertyValueChange(_.MatterPrice,_MatterPrice,value);
				this._MatterPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string InrecdUnit
		{
			get{ return _InrecdUnit; }
			set
			{
				this.OnPropertyValueChange(_.InrecdUnit,_InrecdUnit,value);
				this._InrecdUnit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string InrecdTitle
		{
			get{ return _InrecdTitle; }
			set
			{
				this.OnPropertyValueChange(_.InrecdTitle,_InrecdTitle,value);
				this._InrecdTitle=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.MaterNo,

			
			_.InrecdID,

			
			_.Quantity,

			
			_.MatterModel,

			
			_.MatterBrand,

			
			_.MatterColor,

			
			_.Remark,

			
			_.MatterPrice,

			
			_.InrecdUnit,

			
			_.InrecdTitle

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._MaterNo,

			
			this._InrecdID,

			
			this._Quantity,

			
			this._MatterModel,

			
			this._MatterBrand,

			
			this._MatterColor,

			
			this._Remark,

			
			this._MatterPrice,

			
			this._InrecdUnit,

			
			this._InrecdTitle

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._MaterNo = DataUtils.ConvertValue<string>(reader["MaterNo"]);
						this._InrecdID = DataUtils.ConvertValue<int?>(reader["InrecdID"]);
						this._Quantity = DataUtils.ConvertValue<int?>(reader["Quantity"]);
						this._MatterModel = DataUtils.ConvertValue<string>(reader["MatterModel"]);
						this._MatterBrand = DataUtils.ConvertValue<string>(reader["MatterBrand"]);
						this._MatterColor = DataUtils.ConvertValue<string>(reader["MatterColor"]);
						this._Remark = DataUtils.ConvertValue<string>(reader["Remark"]);
						this._MatterPrice = DataUtils.ConvertValue<decimal?>(reader["MatterPrice"]);
						this._InrecdUnit = DataUtils.ConvertValue<string>(reader["InrecdUnit"]);
						this._InrecdTitle = DataUtils.ConvertValue<string>(reader["InrecdTitle"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._MaterNo = DataUtils.ConvertValue<string>(row["MaterNo"]);
					this._InrecdID = DataUtils.ConvertValue<int?>(row["InrecdID"]);
					this._Quantity = DataUtils.ConvertValue<int?>(row["Quantity"]);
					this._MatterModel = DataUtils.ConvertValue<string>(row["MatterModel"]);
					this._MatterBrand = DataUtils.ConvertValue<string>(row["MatterBrand"]);
					this._MatterColor = DataUtils.ConvertValue<string>(row["MatterColor"]);
					this._Remark = DataUtils.ConvertValue<string>(row["Remark"]);
					this._MatterPrice = DataUtils.ConvertValue<decimal?>(row["MatterPrice"]);
					this._InrecdUnit = DataUtils.ConvertValue<string>(row["InrecdUnit"]);
					this._InrecdTitle = DataUtils.ConvertValue<string>(row["InrecdTitle"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_InrecdChild");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterNo = new Field("MaterNo","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InrecdID = new Field("InrecdID","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Quantity = new Field("Quantity","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterModel = new Field("MatterModel","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterBrand = new Field("MatterBrand","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterColor = new Field("MatterColor","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Remark = new Field("Remark","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterPrice = new Field("MatterPrice","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InrecdUnit = new Field("InrecdUnit","Adm_InrecdChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InrecdTitle = new Field("InrecdTitle","Adm_InrecdChild","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_MailSendLogs
    /// <summary>
	/// 实体类Adm_MailSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_MailSendLogs : Entity 
	{
	 /// <summary>
	/// 实体类Adm_MailSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_MailSendLogs():base("Adm_MailSendLogs") {}

		#region Model

		
		private int _ID;
		
		private string _Mail;
		
		private DateTime? _SendTime;
		
		private int? _BASID;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 电子邮件
		/// </summary>
		public string Mail
		{
			get{ return _Mail; }
			set
			{
				this.OnPropertyValueChange(_.Mail,_Mail,value);
				this._Mail=value;
			}
		}

		
		/// <summary>
		/// 发送日期
		/// </summary>
		public DateTime? SendTime
		{
			get{ return _SendTime; }
			set
			{
				this.OnPropertyValueChange(_.SendTime,_SendTime,value);
				this._SendTime=value;
			}
		}

		
		/// <summary>
		/// 关联ID
		/// </summary>
		public int? BASID
		{
			get{ return _BASID; }
			set
			{
				this.OnPropertyValueChange(_.BASID,_BASID,value);
				this._BASID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Mail,

			
			_.SendTime,

			
			_.BASID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Mail,

			
			this._SendTime,

			
			this._BASID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Mail = DataUtils.ConvertValue<string>(reader["Mail"]);
						this._SendTime = DataUtils.ConvertValue<DateTime?>(reader["SendTime"]);
						this._BASID = DataUtils.ConvertValue<int?>(reader["BASID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Mail = DataUtils.ConvertValue<string>(row["Mail"]);
					this._SendTime = DataUtils.ConvertValue<DateTime?>(row["SendTime"]);
					this._BASID = DataUtils.ConvertValue<int?>(row["BASID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_MailSendLogs");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_MailSendLogs","唯一标识");
					/// <summary>
			/// 电子邮件
			/// </summary>
			public readonly static Field Mail = new Field("Mail","Adm_MailSendLogs","电子邮件");
					/// <summary>
			/// 发送日期
			/// </summary>
			public readonly static Field SendTime = new Field("SendTime","Adm_MailSendLogs","发送日期");
					/// <summary>
			/// 关联ID
			/// </summary>
			public readonly static Field BASID = new Field("BASID","Adm_MailSendLogs","关联ID");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_Matter
    /// <summary>
	/// 实体类Adm_Matter 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_Matter : Entity 
	{
	 /// <summary>
	/// 实体类Adm_Matter 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_Matter():base("Adm_Matter") {}

		#region Model

		
		private int _ID;
		
		private string _MATNUB;
		
		private int? _MATNUBID;
		
		private int? _MatterType;
		
		private string _MatterCategory;
		
		private string _MatterModel;
		
		private string _MatterSpec;
		
		private string _MatterColor;
		
		private string _MatterUnit;
		
		private string _Status;
		
		private DateTime? _AddTime;
		
		private DateTime? _NeedTime;
		
		private string _MatterUse;
		
		private string _Remark;
		
		private string _MatterAdder;
		
		private int? _MatterAddid;
		
		private int? _MatterNum;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 领料编号
		/// </summary>
		public string MATNUB
		{
			get{ return _MATNUB; }
			set
			{
				this.OnPropertyValueChange(_.MATNUB,_MATNUB,value);
				this._MATNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MATNUBID
		{
			get{ return _MATNUBID; }
			set
			{
				this.OnPropertyValueChange(_.MATNUBID,_MATNUBID,value);
				this._MATNUBID=value;
			}
		}

		
		/// <summary>
		/// 类型
		/// </summary>
		public int? MatterType
		{
			get{ return _MatterType; }
			set
			{
				this.OnPropertyValueChange(_.MatterType,_MatterType,value);
				this._MatterType=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterCategory
		{
			get{ return _MatterCategory; }
			set
			{
				this.OnPropertyValueChange(_.MatterCategory,_MatterCategory,value);
				this._MatterCategory=value;
			}
		}

		
		/// <summary>
		/// 型号
		/// </summary>
		public string MatterModel
		{
			get{ return _MatterModel; }
			set
			{
				this.OnPropertyValueChange(_.MatterModel,_MatterModel,value);
				this._MatterModel=value;
			}
		}

		
		/// <summary>
		/// 规格
		/// </summary>
		public string MatterSpec
		{
			get{ return _MatterSpec; }
			set
			{
				this.OnPropertyValueChange(_.MatterSpec,_MatterSpec,value);
				this._MatterSpec=value;
			}
		}

		
		/// <summary>
		/// 颜色
		/// </summary>
		public string MatterColor
		{
			get{ return _MatterColor; }
			set
			{
				this.OnPropertyValueChange(_.MatterColor,_MatterColor,value);
				this._MatterColor=value;
			}
		}

		
		/// <summary>
		/// 单位
		/// </summary>
		public string MatterUnit
		{
			get{ return _MatterUnit; }
			set
			{
				this.OnPropertyValueChange(_.MatterUnit,_MatterUnit,value);
				this._MatterUnit=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public string Status
		{
			get{ return _Status; }
			set
			{
				this.OnPropertyValueChange(_.Status,_Status,value);
				this._Status=value;
			}
		}

		
		/// <summary>
		/// 时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 需求时间
		/// </summary>
		public DateTime? NeedTime
		{
			get{ return _NeedTime; }
			set
			{
				this.OnPropertyValueChange(_.NeedTime,_NeedTime,value);
				this._NeedTime=value;
			}
		}

		
		/// <summary>
		/// 用途
		/// </summary>
		public string MatterUse
		{
			get{ return _MatterUse; }
			set
			{
				this.OnPropertyValueChange(_.MatterUse,_MatterUse,value);
				this._MatterUse=value;
			}
		}

		
		/// <summary>
		/// 描述
		/// </summary>
		public string Remark
		{
			get{ return _Remark; }
			set
			{
				this.OnPropertyValueChange(_.Remark,_Remark,value);
				this._Remark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterAdder
		{
			get{ return _MatterAdder; }
			set
			{
				this.OnPropertyValueChange(_.MatterAdder,_MatterAdder,value);
				this._MatterAdder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MatterAddid
		{
			get{ return _MatterAddid; }
			set
			{
				this.OnPropertyValueChange(_.MatterAddid,_MatterAddid,value);
				this._MatterAddid=value;
			}
		}

		
		/// <summary>
		/// 数量
		/// </summary>
		public int? MatterNum
		{
			get{ return _MatterNum; }
			set
			{
				this.OnPropertyValueChange(_.MatterNum,_MatterNum,value);
				this._MatterNum=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.MATNUB,

			
			_.MATNUBID,

			
			_.MatterType,

			
			_.MatterCategory,

			
			_.MatterModel,

			
			_.MatterSpec,

			
			_.MatterColor,

			
			_.MatterUnit,

			
			_.Status,

			
			_.AddTime,

			
			_.NeedTime,

			
			_.MatterUse,

			
			_.Remark,

			
			_.MatterAdder,

			
			_.MatterAddid,

			
			_.MatterNum

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._MATNUB,

			
			this._MATNUBID,

			
			this._MatterType,

			
			this._MatterCategory,

			
			this._MatterModel,

			
			this._MatterSpec,

			
			this._MatterColor,

			
			this._MatterUnit,

			
			this._Status,

			
			this._AddTime,

			
			this._NeedTime,

			
			this._MatterUse,

			
			this._Remark,

			
			this._MatterAdder,

			
			this._MatterAddid,

			
			this._MatterNum

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._MATNUB = DataUtils.ConvertValue<string>(reader["MATNUB"]);
						this._MATNUBID = DataUtils.ConvertValue<int?>(reader["MATNUBID"]);
						this._MatterType = DataUtils.ConvertValue<int?>(reader["MatterType"]);
						this._MatterCategory = DataUtils.ConvertValue<string>(reader["MatterCategory"]);
						this._MatterModel = DataUtils.ConvertValue<string>(reader["MatterModel"]);
						this._MatterSpec = DataUtils.ConvertValue<string>(reader["MatterSpec"]);
						this._MatterColor = DataUtils.ConvertValue<string>(reader["MatterColor"]);
						this._MatterUnit = DataUtils.ConvertValue<string>(reader["MatterUnit"]);
						this._Status = DataUtils.ConvertValue<string>(reader["Status"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._NeedTime = DataUtils.ConvertValue<DateTime?>(reader["NeedTime"]);
						this._MatterUse = DataUtils.ConvertValue<string>(reader["MatterUse"]);
						this._Remark = DataUtils.ConvertValue<string>(reader["Remark"]);
						this._MatterAdder = DataUtils.ConvertValue<string>(reader["MatterAdder"]);
						this._MatterAddid = DataUtils.ConvertValue<int?>(reader["MatterAddid"]);
						this._MatterNum = DataUtils.ConvertValue<int?>(reader["MatterNum"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._MATNUB = DataUtils.ConvertValue<string>(row["MATNUB"]);
					this._MATNUBID = DataUtils.ConvertValue<int?>(row["MATNUBID"]);
					this._MatterType = DataUtils.ConvertValue<int?>(row["MatterType"]);
					this._MatterCategory = DataUtils.ConvertValue<string>(row["MatterCategory"]);
					this._MatterModel = DataUtils.ConvertValue<string>(row["MatterModel"]);
					this._MatterSpec = DataUtils.ConvertValue<string>(row["MatterSpec"]);
					this._MatterColor = DataUtils.ConvertValue<string>(row["MatterColor"]);
					this._MatterUnit = DataUtils.ConvertValue<string>(row["MatterUnit"]);
					this._Status = DataUtils.ConvertValue<string>(row["Status"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._NeedTime = DataUtils.ConvertValue<DateTime?>(row["NeedTime"]);
					this._MatterUse = DataUtils.ConvertValue<string>(row["MatterUse"]);
					this._Remark = DataUtils.ConvertValue<string>(row["Remark"]);
					this._MatterAdder = DataUtils.ConvertValue<string>(row["MatterAdder"]);
					this._MatterAddid = DataUtils.ConvertValue<int?>(row["MatterAddid"]);
					this._MatterNum = DataUtils.ConvertValue<int?>(row["MatterNum"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_Matter");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_Matter","唯一标识");
					/// <summary>
			/// 领料编号
			/// </summary>
			public readonly static Field MATNUB = new Field("MATNUB","Adm_Matter","领料编号");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MATNUBID = new Field("MATNUBID","Adm_Matter","");
					/// <summary>
			/// 类型
			/// </summary>
			public readonly static Field MatterType = new Field("MatterType","Adm_Matter","类型");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterCategory = new Field("MatterCategory","Adm_Matter","");
					/// <summary>
			/// 型号
			/// </summary>
			public readonly static Field MatterModel = new Field("MatterModel","Adm_Matter","型号");
					/// <summary>
			/// 规格
			/// </summary>
			public readonly static Field MatterSpec = new Field("MatterSpec","Adm_Matter","规格");
					/// <summary>
			/// 颜色
			/// </summary>
			public readonly static Field MatterColor = new Field("MatterColor","Adm_Matter","颜色");
					/// <summary>
			/// 单位
			/// </summary>
			public readonly static Field MatterUnit = new Field("MatterUnit","Adm_Matter","单位");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field Status = new Field("Status","Adm_Matter","状态");
					/// <summary>
			/// 时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Adm_Matter","时间");
					/// <summary>
			/// 需求时间
			/// </summary>
			public readonly static Field NeedTime = new Field("NeedTime","Adm_Matter","需求时间");
					/// <summary>
			/// 用途
			/// </summary>
			public readonly static Field MatterUse = new Field("MatterUse","Adm_Matter","用途");
					/// <summary>
			/// 描述
			/// </summary>
			public readonly static Field Remark = new Field("Remark","Adm_Matter","描述");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterAdder = new Field("MatterAdder","Adm_Matter","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterAddid = new Field("MatterAddid","Adm_Matter","");
					/// <summary>
			/// 数量
			/// </summary>
			public readonly static Field MatterNum = new Field("MatterNum","Adm_Matter","数量");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Adm_MatterChild
    /// <summary>
	/// 实体类Adm_MatterChild 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Adm_MatterChild : Entity 
	{
	 /// <summary>
	/// 实体类Adm_MatterChild 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Adm_MatterChild():base("Adm_MatterChild") {}

		#region Model

		
		private int _ID;
		
		private string _MaterNo;
		
		private int? _MatterID;
		
		private int? _Quantity;
		
		private string _MatterModel;
		
		private string _MatterBrand;
		
		private string _MatterColor;
		
		private string _Remark;
		
		private decimal? _MatterPrice;
		
		private string _MatterUnit;
		
		private string _MatnubTitle;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterNo
		{
			get{ return _MaterNo; }
			set
			{
				this.OnPropertyValueChange(_.MaterNo,_MaterNo,value);
				this._MaterNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MatterID
		{
			get{ return _MatterID; }
			set
			{
				this.OnPropertyValueChange(_.MatterID,_MatterID,value);
				this._MatterID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Quantity
		{
			get{ return _Quantity; }
			set
			{
				this.OnPropertyValueChange(_.Quantity,_Quantity,value);
				this._Quantity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterModel
		{
			get{ return _MatterModel; }
			set
			{
				this.OnPropertyValueChange(_.MatterModel,_MatterModel,value);
				this._MatterModel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterBrand
		{
			get{ return _MatterBrand; }
			set
			{
				this.OnPropertyValueChange(_.MatterBrand,_MatterBrand,value);
				this._MatterBrand=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterColor
		{
			get{ return _MatterColor; }
			set
			{
				this.OnPropertyValueChange(_.MatterColor,_MatterColor,value);
				this._MatterColor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			get{ return _Remark; }
			set
			{
				this.OnPropertyValueChange(_.Remark,_Remark,value);
				this._Remark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? MatterPrice
		{
			get{ return _MatterPrice; }
			set
			{
				this.OnPropertyValueChange(_.MatterPrice,_MatterPrice,value);
				this._MatterPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatterUnit
		{
			get{ return _MatterUnit; }
			set
			{
				this.OnPropertyValueChange(_.MatterUnit,_MatterUnit,value);
				this._MatterUnit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MatnubTitle
		{
			get{ return _MatnubTitle; }
			set
			{
				this.OnPropertyValueChange(_.MatnubTitle,_MatnubTitle,value);
				this._MatnubTitle=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.MaterNo,

			
			_.MatterID,

			
			_.Quantity,

			
			_.MatterModel,

			
			_.MatterBrand,

			
			_.MatterColor,

			
			_.Remark,

			
			_.MatterPrice,

			
			_.MatterUnit,

			
			_.MatnubTitle

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._MaterNo,

			
			this._MatterID,

			
			this._Quantity,

			
			this._MatterModel,

			
			this._MatterBrand,

			
			this._MatterColor,

			
			this._Remark,

			
			this._MatterPrice,

			
			this._MatterUnit,

			
			this._MatnubTitle

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._MaterNo = DataUtils.ConvertValue<string>(reader["MaterNo"]);
						this._MatterID = DataUtils.ConvertValue<int?>(reader["MatterID"]);
						this._Quantity = DataUtils.ConvertValue<int?>(reader["Quantity"]);
						this._MatterModel = DataUtils.ConvertValue<string>(reader["MatterModel"]);
						this._MatterBrand = DataUtils.ConvertValue<string>(reader["MatterBrand"]);
						this._MatterColor = DataUtils.ConvertValue<string>(reader["MatterColor"]);
						this._Remark = DataUtils.ConvertValue<string>(reader["Remark"]);
						this._MatterPrice = DataUtils.ConvertValue<decimal?>(reader["MatterPrice"]);
						this._MatterUnit = DataUtils.ConvertValue<string>(reader["MatterUnit"]);
						this._MatnubTitle = DataUtils.ConvertValue<string>(reader["MatnubTitle"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._MaterNo = DataUtils.ConvertValue<string>(row["MaterNo"]);
					this._MatterID = DataUtils.ConvertValue<int?>(row["MatterID"]);
					this._Quantity = DataUtils.ConvertValue<int?>(row["Quantity"]);
					this._MatterModel = DataUtils.ConvertValue<string>(row["MatterModel"]);
					this._MatterBrand = DataUtils.ConvertValue<string>(row["MatterBrand"]);
					this._MatterColor = DataUtils.ConvertValue<string>(row["MatterColor"]);
					this._Remark = DataUtils.ConvertValue<string>(row["Remark"]);
					this._MatterPrice = DataUtils.ConvertValue<decimal?>(row["MatterPrice"]);
					this._MatterUnit = DataUtils.ConvertValue<string>(row["MatterUnit"]);
					this._MatnubTitle = DataUtils.ConvertValue<string>(row["MatnubTitle"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Adm_MatterChild");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterNo = new Field("MaterNo","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterID = new Field("MatterID","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Quantity = new Field("Quantity","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterModel = new Field("MatterModel","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterBrand = new Field("MatterBrand","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterColor = new Field("MatterColor","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Remark = new Field("Remark","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterPrice = new Field("MatterPrice","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterUnit = new Field("MatterUnit","Adm_MatterChild","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatnubTitle = new Field("MatnubTitle","Adm_MatterChild","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类AfSale_PrInfo
    /// <summary>
	/// 实体类AfSale_PrInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AfSale_PrInfo : Entity 
	{
	 /// <summary>
	/// 实体类AfSale_PrInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AfSale_PrInfo():base("AfSale_PrInfo") {}

		#region Model

		
		private int _ID;
		
		private string _REPRID;
		
		private DateTime? _CRDATE;
		
		private string _TELNUB;
		
		private string _OEMAIL;
		
		private string _CUTNAM;
		
		private string _ADDRES;
		
		private string _CUTTEL;
		
		private string _CONTAT;
		
		private string _PRJECT;
		
		private DateTime? _SEDATE;
		
		private DateTime? _REDATE;
		
		private DateTime? _REQDAT;
		
		private DateTime? _COMDAT;
		
		private string _ENGSIG;
		
		private string _RESULT;
		
		private string _CUTSIG;
		
		private bool? _NATURE;
		
		private decimal? _AMOUNT;
		
		private bool? _ISPREM;
		
		private bool? _IFCHEK;
		
		private string _TAXNUB;
		
		private DateTime? _AddTime;
		
		private string _Adder;
		
		private int? _Status;
		
		private string _ATTACH;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 维修编号
		/// </summary>
		public string REPRID
		{
			get{ return _REPRID; }
			set
			{
				this.OnPropertyValueChange(_.REPRID,_REPRID,value);
				this._REPRID=value;
			}
		}

		
		/// <summary>
		/// 日期
		/// </summary>
		public DateTime? CRDATE
		{
			get{ return _CRDATE; }
			set
			{
				this.OnPropertyValueChange(_.CRDATE,_CRDATE,value);
				this._CRDATE=value;
			}
		}

		
		/// <summary>
		/// 售后维修电话
		/// </summary>
		public string TELNUB
		{
			get{ return _TELNUB; }
			set
			{
				this.OnPropertyValueChange(_.TELNUB,_TELNUB,value);
				this._TELNUB=value;
			}
		}

		
		/// <summary>
		/// 售后服务邮箱
		/// </summary>
		public string OEMAIL
		{
			get{ return _OEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.OEMAIL,_OEMAIL,value);
				this._OEMAIL=value;
			}
		}

		
		/// <summary>
		/// 客户名称
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 客户电话
		/// </summary>
		public string CUTTEL
		{
			get{ return _CUTTEL; }
			set
			{
				this.OnPropertyValueChange(_.CUTTEL,_CUTTEL,value);
				this._CUTTEL=value;
			}
		}

		
		/// <summary>
		/// 联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 维修项目
		/// </summary>
		public string PRJECT
		{
			get{ return _PRJECT; }
			set
			{
				this.OnPropertyValueChange(_.PRJECT,_PRJECT,value);
				this._PRJECT=value;
			}
		}

		
		/// <summary>
		/// 原送货安装日期
		/// </summary>
		public DateTime? SEDATE
		{
			get{ return _SEDATE; }
			set
			{
				this.OnPropertyValueChange(_.SEDATE,_SEDATE,value);
				this._SEDATE=value;
			}
		}

		
		/// <summary>
		/// 通知维修日期
		/// </summary>
		public DateTime? REDATE
		{
			get{ return _REDATE; }
			set
			{
				this.OnPropertyValueChange(_.REDATE,_REDATE,value);
				this._REDATE=value;
			}
		}

		
		/// <summary>
		/// 要求完工日期
		/// </summary>
		public DateTime? REQDAT
		{
			get{ return _REQDAT; }
			set
			{
				this.OnPropertyValueChange(_.REQDAT,_REQDAT,value);
				this._REQDAT=value;
			}
		}

		
		/// <summary>
		/// 实际完工日期
		/// </summary>
		public DateTime? COMDAT
		{
			get{ return _COMDAT; }
			set
			{
				this.OnPropertyValueChange(_.COMDAT,_COMDAT,value);
				this._COMDAT=value;
			}
		}

		
		/// <summary>
		/// 维修员签名
		/// </summary>
		public string ENGSIG
		{
			get{ return _ENGSIG; }
			set
			{
				this.OnPropertyValueChange(_.ENGSIG,_ENGSIG,value);
				this._ENGSIG=value;
			}
		}

		
		/// <summary>
		/// 维修结果
		/// </summary>
		public string RESULT
		{
			get{ return _RESULT; }
			set
			{
				this.OnPropertyValueChange(_.RESULT,_RESULT,value);
				this._RESULT=value;
			}
		}

		
		/// <summary>
		/// 客户签名
		/// </summary>
		public string CUTSIG
		{
			get{ return _CUTSIG; }
			set
			{
				this.OnPropertyValueChange(_.CUTSIG,_CUTSIG,value);
				this._CUTSIG=value;
			}
		}

		
		/// <summary>
		/// 是否收费
		/// </summary>
		public bool? NATURE
		{
			get{ return _NATURE; }
			set
			{
				this.OnPropertyValueChange(_.NATURE,_NATURE,value);
				this._NATURE=value;
			}
		}

		
		/// <summary>
		/// 费用
		/// </summary>
		public decimal? AMOUNT
		{
			get{ return _AMOUNT; }
			set
			{
				this.OnPropertyValueChange(_.AMOUNT,_AMOUNT,value);
				this._AMOUNT=value;
			}
		}

		
		/// <summary>
		/// 是否已经收取费用
		/// </summary>
		public bool? ISPREM
		{
			get{ return _ISPREM; }
			set
			{
				this.OnPropertyValueChange(_.ISPREM,_ISPREM,value);
				this._ISPREM=value;
			}
		}

		
		/// <summary>
		/// 检查其他家具产品
		/// </summary>
		public bool? IFCHEK
		{
			get{ return _IFCHEK; }
			set
			{
				this.OnPropertyValueChange(_.IFCHEK,_IFCHEK,value);
				this._IFCHEK=value;
			}
		}

		
		/// <summary>
		/// 服务性发票号
		/// </summary>
		public string TAXNUB
		{
			get{ return _TAXNUB; }
			set
			{
				this.OnPropertyValueChange(_.TAXNUB,_TAXNUB,value);
				this._TAXNUB=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public int? Status
		{
			get{ return _Status; }
			set
			{
				this.OnPropertyValueChange(_.Status,_Status,value);
				this._Status=value;
			}
		}

		
		/// <summary>
		/// 附件
		/// </summary>
		public string ATTACH
		{
			get{ return _ATTACH; }
			set
			{
				this.OnPropertyValueChange(_.ATTACH,_ATTACH,value);
				this._ATTACH=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.REPRID,

			
			_.CRDATE,

			
			_.TELNUB,

			
			_.OEMAIL,

			
			_.CUTNAM,

			
			_.ADDRES,

			
			_.CUTTEL,

			
			_.CONTAT,

			
			_.PRJECT,

			
			_.SEDATE,

			
			_.REDATE,

			
			_.REQDAT,

			
			_.COMDAT,

			
			_.ENGSIG,

			
			_.RESULT,

			
			_.CUTSIG,

			
			_.NATURE,

			
			_.AMOUNT,

			
			_.ISPREM,

			
			_.IFCHEK,

			
			_.TAXNUB,

			
			_.AddTime,

			
			_.Adder,

			
			_.Status,

			
			_.ATTACH

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._REPRID,

			
			this._CRDATE,

			
			this._TELNUB,

			
			this._OEMAIL,

			
			this._CUTNAM,

			
			this._ADDRES,

			
			this._CUTTEL,

			
			this._CONTAT,

			
			this._PRJECT,

			
			this._SEDATE,

			
			this._REDATE,

			
			this._REQDAT,

			
			this._COMDAT,

			
			this._ENGSIG,

			
			this._RESULT,

			
			this._CUTSIG,

			
			this._NATURE,

			
			this._AMOUNT,

			
			this._ISPREM,

			
			this._IFCHEK,

			
			this._TAXNUB,

			
			this._AddTime,

			
			this._Adder,

			
			this._Status,

			
			this._ATTACH

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._REPRID = DataUtils.ConvertValue<string>(reader["REPRID"]);
						this._CRDATE = DataUtils.ConvertValue<DateTime?>(reader["CRDATE"]);
						this._TELNUB = DataUtils.ConvertValue<string>(reader["TELNUB"]);
						this._OEMAIL = DataUtils.ConvertValue<string>(reader["OEMAIL"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._CUTTEL = DataUtils.ConvertValue<string>(reader["CUTTEL"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._PRJECT = DataUtils.ConvertValue<string>(reader["PRJECT"]);
						this._SEDATE = DataUtils.ConvertValue<DateTime?>(reader["SEDATE"]);
						this._REDATE = DataUtils.ConvertValue<DateTime?>(reader["REDATE"]);
						this._REQDAT = DataUtils.ConvertValue<DateTime?>(reader["REQDAT"]);
						this._COMDAT = DataUtils.ConvertValue<DateTime?>(reader["COMDAT"]);
						this._ENGSIG = DataUtils.ConvertValue<string>(reader["ENGSIG"]);
						this._RESULT = DataUtils.ConvertValue<string>(reader["RESULT"]);
						this._CUTSIG = DataUtils.ConvertValue<string>(reader["CUTSIG"]);
						this._NATURE = DataUtils.ConvertValue<bool?>(reader["NATURE"]);
						this._AMOUNT = DataUtils.ConvertValue<decimal?>(reader["AMOUNT"]);
						this._ISPREM = DataUtils.ConvertValue<bool?>(reader["ISPREM"]);
						this._IFCHEK = DataUtils.ConvertValue<bool?>(reader["IFCHEK"]);
						this._TAXNUB = DataUtils.ConvertValue<string>(reader["TAXNUB"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._Status = DataUtils.ConvertValue<int?>(reader["Status"]);
						this._ATTACH = DataUtils.ConvertValue<string>(reader["ATTACH"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._REPRID = DataUtils.ConvertValue<string>(row["REPRID"]);
					this._CRDATE = DataUtils.ConvertValue<DateTime?>(row["CRDATE"]);
					this._TELNUB = DataUtils.ConvertValue<string>(row["TELNUB"]);
					this._OEMAIL = DataUtils.ConvertValue<string>(row["OEMAIL"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._CUTTEL = DataUtils.ConvertValue<string>(row["CUTTEL"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._PRJECT = DataUtils.ConvertValue<string>(row["PRJECT"]);
					this._SEDATE = DataUtils.ConvertValue<DateTime?>(row["SEDATE"]);
					this._REDATE = DataUtils.ConvertValue<DateTime?>(row["REDATE"]);
					this._REQDAT = DataUtils.ConvertValue<DateTime?>(row["REQDAT"]);
					this._COMDAT = DataUtils.ConvertValue<DateTime?>(row["COMDAT"]);
					this._ENGSIG = DataUtils.ConvertValue<string>(row["ENGSIG"]);
					this._RESULT = DataUtils.ConvertValue<string>(row["RESULT"]);
					this._CUTSIG = DataUtils.ConvertValue<string>(row["CUTSIG"]);
					this._NATURE = DataUtils.ConvertValue<bool?>(row["NATURE"]);
					this._AMOUNT = DataUtils.ConvertValue<decimal?>(row["AMOUNT"]);
					this._ISPREM = DataUtils.ConvertValue<bool?>(row["ISPREM"]);
					this._IFCHEK = DataUtils.ConvertValue<bool?>(row["IFCHEK"]);
					this._TAXNUB = DataUtils.ConvertValue<string>(row["TAXNUB"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._Status = DataUtils.ConvertValue<int?>(row["Status"]);
					this._ATTACH = DataUtils.ConvertValue<string>(row["ATTACH"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AfSale_PrInfo");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","AfSale_PrInfo","唯一标识");
					/// <summary>
			/// 维修编号
			/// </summary>
			public readonly static Field REPRID = new Field("REPRID","AfSale_PrInfo","维修编号");
					/// <summary>
			/// 日期
			/// </summary>
			public readonly static Field CRDATE = new Field("CRDATE","AfSale_PrInfo","日期");
					/// <summary>
			/// 售后维修电话
			/// </summary>
			public readonly static Field TELNUB = new Field("TELNUB","AfSale_PrInfo","售后维修电话");
					/// <summary>
			/// 售后服务邮箱
			/// </summary>
			public readonly static Field OEMAIL = new Field("OEMAIL","AfSale_PrInfo","售后服务邮箱");
					/// <summary>
			/// 客户名称
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","AfSale_PrInfo","客户名称");
					/// <summary>
			/// 地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","AfSale_PrInfo","地址");
					/// <summary>
			/// 客户电话
			/// </summary>
			public readonly static Field CUTTEL = new Field("CUTTEL","AfSale_PrInfo","客户电话");
					/// <summary>
			/// 联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","AfSale_PrInfo","联系人");
					/// <summary>
			/// 维修项目
			/// </summary>
			public readonly static Field PRJECT = new Field("PRJECT","AfSale_PrInfo","维修项目");
					/// <summary>
			/// 原送货安装日期
			/// </summary>
			public readonly static Field SEDATE = new Field("SEDATE","AfSale_PrInfo","原送货安装日期");
					/// <summary>
			/// 通知维修日期
			/// </summary>
			public readonly static Field REDATE = new Field("REDATE","AfSale_PrInfo","通知维修日期");
					/// <summary>
			/// 要求完工日期
			/// </summary>
			public readonly static Field REQDAT = new Field("REQDAT","AfSale_PrInfo","要求完工日期");
					/// <summary>
			/// 实际完工日期
			/// </summary>
			public readonly static Field COMDAT = new Field("COMDAT","AfSale_PrInfo","实际完工日期");
					/// <summary>
			/// 维修员签名
			/// </summary>
			public readonly static Field ENGSIG = new Field("ENGSIG","AfSale_PrInfo","维修员签名");
					/// <summary>
			/// 维修结果
			/// </summary>
			public readonly static Field RESULT = new Field("RESULT","AfSale_PrInfo","维修结果");
					/// <summary>
			/// 客户签名
			/// </summary>
			public readonly static Field CUTSIG = new Field("CUTSIG","AfSale_PrInfo","客户签名");
					/// <summary>
			/// 是否收费
			/// </summary>
			public readonly static Field NATURE = new Field("NATURE","AfSale_PrInfo","是否收费");
					/// <summary>
			/// 费用
			/// </summary>
			public readonly static Field AMOUNT = new Field("AMOUNT","AfSale_PrInfo","费用");
					/// <summary>
			/// 是否已经收取费用
			/// </summary>
			public readonly static Field ISPREM = new Field("ISPREM","AfSale_PrInfo","是否已经收取费用");
					/// <summary>
			/// 检查其他家具产品
			/// </summary>
			public readonly static Field IFCHEK = new Field("IFCHEK","AfSale_PrInfo","检查其他家具产品");
					/// <summary>
			/// 服务性发票号
			/// </summary>
			public readonly static Field TAXNUB = new Field("TAXNUB","AfSale_PrInfo","服务性发票号");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","AfSale_PrInfo","添加时间");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","AfSale_PrInfo","添加人");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field Status = new Field("Status","AfSale_PrInfo","状态");
					/// <summary>
			/// 附件
			/// </summary>
			public readonly static Field ATTACH = new Field("ATTACH","AfSale_PrInfo","附件");
					}
		#endregion


	}
	#endregion
	
	#region 实体类AfSale_QcInfo
    /// <summary>
	/// 实体类AfSale_QcInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class AfSale_QcInfo : Entity 
	{
	 /// <summary>
	/// 实体类AfSale_QcInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public AfSale_QcInfo():base("AfSale_QcInfo") {}

		#region Model

		
		private int _ID;
		
		private string _QCNUBR;
		
		private string _CUSNAM;
		
		private string _CUTNUB;
		
		private DateTime? _QCDATE;
		
		private string _ADDRES;
		
		private string _CONTAT;
		
		private string _TELNUB;
		
		private string _FOXNUB;
		
		private string _UEMAIL;
		
		private string _ENGNAM;
		
		private DateTime? _FRTIME;
		
		private DateTime? _TOTIME;
		
		private DateTime? _PUTIME;
		
		private string _PDBACH;
		
		private string _CUINFO;
		
		private string _USAGEC;
		
		private string _SRINFO;
		
		private string _SUGTON;
		
		private string _CUSIGN;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _ATTACH;
		
		private int? _ProjID;
		
		private string _ProjRemark;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 回访编号
		/// </summary>
		public string QCNUBR
		{
			get{ return _QCNUBR; }
			set
			{
				this.OnPropertyValueChange(_.QCNUBR,_QCNUBR,value);
				this._QCNUBR=value;
			}
		}

		
		/// <summary>
		/// 客户名称
		/// </summary>
		public string CUSNAM
		{
			get{ return _CUSNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUSNAM,_CUSNAM,value);
				this._CUSNAM=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 回访日期
		/// </summary>
		public DateTime? QCDATE
		{
			get{ return _QCDATE; }
			set
			{
				this.OnPropertyValueChange(_.QCDATE,_QCDATE,value);
				this._QCDATE=value;
			}
		}

		
		/// <summary>
		/// 地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 电话
		/// </summary>
		public string TELNUB
		{
			get{ return _TELNUB; }
			set
			{
				this.OnPropertyValueChange(_.TELNUB,_TELNUB,value);
				this._TELNUB=value;
			}
		}

		
		/// <summary>
		/// 传真
		/// </summary>
		public string FOXNUB
		{
			get{ return _FOXNUB; }
			set
			{
				this.OnPropertyValueChange(_.FOXNUB,_FOXNUB,value);
				this._FOXNUB=value;
			}
		}

		
		/// <summary>
		/// 邮箱
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 回访人员
		/// </summary>
		public string ENGNAM
		{
			get{ return _ENGNAM; }
			set
			{
				this.OnPropertyValueChange(_.ENGNAM,_ENGNAM,value);
				this._ENGNAM=value;
			}
		}

		
		/// <summary>
		/// 到达（开始）
		/// </summary>
		public DateTime? FRTIME
		{
			get{ return _FRTIME; }
			set
			{
				this.OnPropertyValueChange(_.FRTIME,_FRTIME,value);
				this._FRTIME=value;
			}
		}

		
		/// <summary>
		/// 离开（结束）
		/// </summary>
		public DateTime? TOTIME
		{
			get{ return _TOTIME; }
			set
			{
				this.OnPropertyValueChange(_.TOTIME,_TOTIME,value);
				this._TOTIME=value;
			}
		}

		
		/// <summary>
		/// 购买时间
		/// </summary>
		public DateTime? PUTIME
		{
			get{ return _PUTIME; }
			set
			{
				this.OnPropertyValueChange(_.PUTIME,_PUTIME,value);
				this._PUTIME=value;
			}
		}

		
		/// <summary>
		/// 生产批次
		/// </summary>
		public string PDBACH
		{
			get{ return _PDBACH; }
			set
			{
				this.OnPropertyValueChange(_.PDBACH,_PDBACH,value);
				this._PDBACH=value;
			}
		}

		
		/// <summary>
		/// 客户情况介绍
		/// </summary>
		public string CUINFO
		{
			get{ return _CUINFO; }
			set
			{
				this.OnPropertyValueChange(_.CUINFO,_CUINFO,value);
				this._CUINFO=value;
			}
		}

		
		/// <summary>
		/// 使用情况
		/// </summary>
		public string USAGEC
		{
			get{ return _USAGEC; }
			set
			{
				this.OnPropertyValueChange(_.USAGEC,_USAGEC,value);
				this._USAGEC=value;
			}
		}

		
		/// <summary>
		/// 服务质量
		/// </summary>
		public string SRINFO
		{
			get{ return _SRINFO; }
			set
			{
				this.OnPropertyValueChange(_.SRINFO,_SRINFO,value);
				this._SRINFO=value;
			}
		}

		
		/// <summary>
		/// 客户意见和建议
		/// </summary>
		public string SUGTON
		{
			get{ return _SUGTON; }
			set
			{
				this.OnPropertyValueChange(_.SUGTON,_SUGTON,value);
				this._SUGTON=value;
			}
		}

		
		/// <summary>
		/// 客户签字
		/// </summary>
		public string CUSIGN
		{
			get{ return _CUSIGN; }
			set
			{
				this.OnPropertyValueChange(_.CUSIGN,_CUSIGN,value);
				this._CUSIGN=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ATTACH
		{
			get{ return _ATTACH; }
			set
			{
				this.OnPropertyValueChange(_.ATTACH,_ATTACH,value);
				this._ATTACH=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ProjID
		{
			get{ return _ProjID; }
			set
			{
				this.OnPropertyValueChange(_.ProjID,_ProjID,value);
				this._ProjID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ProjRemark
		{
			get{ return _ProjRemark; }
			set
			{
				this.OnPropertyValueChange(_.ProjRemark,_ProjRemark,value);
				this._ProjRemark=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.QCNUBR,

			
			_.CUSNAM,

			
			_.CUTNUB,

			
			_.QCDATE,

			
			_.ADDRES,

			
			_.CONTAT,

			
			_.TELNUB,

			
			_.FOXNUB,

			
			_.UEMAIL,

			
			_.ENGNAM,

			
			_.FRTIME,

			
			_.TOTIME,

			
			_.PUTIME,

			
			_.PDBACH,

			
			_.CUINFO,

			
			_.USAGEC,

			
			_.SRINFO,

			
			_.SUGTON,

			
			_.CUSIGN,

			
			_.Adder,

			
			_.AddTime,

			
			_.ATTACH,

			
			_.ProjID,

			
			_.ProjRemark

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._QCNUBR,

			
			this._CUSNAM,

			
			this._CUTNUB,

			
			this._QCDATE,

			
			this._ADDRES,

			
			this._CONTAT,

			
			this._TELNUB,

			
			this._FOXNUB,

			
			this._UEMAIL,

			
			this._ENGNAM,

			
			this._FRTIME,

			
			this._TOTIME,

			
			this._PUTIME,

			
			this._PDBACH,

			
			this._CUINFO,

			
			this._USAGEC,

			
			this._SRINFO,

			
			this._SUGTON,

			
			this._CUSIGN,

			
			this._Adder,

			
			this._AddTime,

			
			this._ATTACH,

			
			this._ProjID,

			
			this._ProjRemark

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._QCNUBR = DataUtils.ConvertValue<string>(reader["QCNUBR"]);
						this._CUSNAM = DataUtils.ConvertValue<string>(reader["CUSNAM"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._QCDATE = DataUtils.ConvertValue<DateTime?>(reader["QCDATE"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._TELNUB = DataUtils.ConvertValue<string>(reader["TELNUB"]);
						this._FOXNUB = DataUtils.ConvertValue<string>(reader["FOXNUB"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._ENGNAM = DataUtils.ConvertValue<string>(reader["ENGNAM"]);
						this._FRTIME = DataUtils.ConvertValue<DateTime?>(reader["FRTIME"]);
						this._TOTIME = DataUtils.ConvertValue<DateTime?>(reader["TOTIME"]);
						this._PUTIME = DataUtils.ConvertValue<DateTime?>(reader["PUTIME"]);
						this._PDBACH = DataUtils.ConvertValue<string>(reader["PDBACH"]);
						this._CUINFO = DataUtils.ConvertValue<string>(reader["CUINFO"]);
						this._USAGEC = DataUtils.ConvertValue<string>(reader["USAGEC"]);
						this._SRINFO = DataUtils.ConvertValue<string>(reader["SRINFO"]);
						this._SUGTON = DataUtils.ConvertValue<string>(reader["SUGTON"]);
						this._CUSIGN = DataUtils.ConvertValue<string>(reader["CUSIGN"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._ATTACH = DataUtils.ConvertValue<string>(reader["ATTACH"]);
						this._ProjID = DataUtils.ConvertValue<int?>(reader["ProjID"]);
						this._ProjRemark = DataUtils.ConvertValue<string>(reader["ProjRemark"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._QCNUBR = DataUtils.ConvertValue<string>(row["QCNUBR"]);
					this._CUSNAM = DataUtils.ConvertValue<string>(row["CUSNAM"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._QCDATE = DataUtils.ConvertValue<DateTime?>(row["QCDATE"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._TELNUB = DataUtils.ConvertValue<string>(row["TELNUB"]);
					this._FOXNUB = DataUtils.ConvertValue<string>(row["FOXNUB"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._ENGNAM = DataUtils.ConvertValue<string>(row["ENGNAM"]);
					this._FRTIME = DataUtils.ConvertValue<DateTime?>(row["FRTIME"]);
					this._TOTIME = DataUtils.ConvertValue<DateTime?>(row["TOTIME"]);
					this._PUTIME = DataUtils.ConvertValue<DateTime?>(row["PUTIME"]);
					this._PDBACH = DataUtils.ConvertValue<string>(row["PDBACH"]);
					this._CUINFO = DataUtils.ConvertValue<string>(row["CUINFO"]);
					this._USAGEC = DataUtils.ConvertValue<string>(row["USAGEC"]);
					this._SRINFO = DataUtils.ConvertValue<string>(row["SRINFO"]);
					this._SUGTON = DataUtils.ConvertValue<string>(row["SUGTON"]);
					this._CUSIGN = DataUtils.ConvertValue<string>(row["CUSIGN"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._ATTACH = DataUtils.ConvertValue<string>(row["ATTACH"]);
					this._ProjID = DataUtils.ConvertValue<int?>(row["ProjID"]);
					this._ProjRemark = DataUtils.ConvertValue<string>(row["ProjRemark"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","AfSale_QcInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","AfSale_QcInfo","");
					/// <summary>
			/// 回访编号
			/// </summary>
			public readonly static Field QCNUBR = new Field("QCNUBR","AfSale_QcInfo","回访编号");
					/// <summary>
			/// 客户名称
			/// </summary>
			public readonly static Field CUSNAM = new Field("CUSNAM","AfSale_QcInfo","客户名称");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","AfSale_QcInfo","");
					/// <summary>
			/// 回访日期
			/// </summary>
			public readonly static Field QCDATE = new Field("QCDATE","AfSale_QcInfo","回访日期");
					/// <summary>
			/// 地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","AfSale_QcInfo","地址");
					/// <summary>
			/// 联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","AfSale_QcInfo","联系人");
					/// <summary>
			/// 电话
			/// </summary>
			public readonly static Field TELNUB = new Field("TELNUB","AfSale_QcInfo","电话");
					/// <summary>
			/// 传真
			/// </summary>
			public readonly static Field FOXNUB = new Field("FOXNUB","AfSale_QcInfo","传真");
					/// <summary>
			/// 邮箱
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","AfSale_QcInfo","邮箱");
					/// <summary>
			/// 回访人员
			/// </summary>
			public readonly static Field ENGNAM = new Field("ENGNAM","AfSale_QcInfo","回访人员");
					/// <summary>
			/// 到达（开始）
			/// </summary>
			public readonly static Field FRTIME = new Field("FRTIME","AfSale_QcInfo","到达（开始）");
					/// <summary>
			/// 离开（结束）
			/// </summary>
			public readonly static Field TOTIME = new Field("TOTIME","AfSale_QcInfo","离开（结束）");
					/// <summary>
			/// 购买时间
			/// </summary>
			public readonly static Field PUTIME = new Field("PUTIME","AfSale_QcInfo","购买时间");
					/// <summary>
			/// 生产批次
			/// </summary>
			public readonly static Field PDBACH = new Field("PDBACH","AfSale_QcInfo","生产批次");
					/// <summary>
			/// 客户情况介绍
			/// </summary>
			public readonly static Field CUINFO = new Field("CUINFO","AfSale_QcInfo","客户情况介绍");
					/// <summary>
			/// 使用情况
			/// </summary>
			public readonly static Field USAGEC = new Field("USAGEC","AfSale_QcInfo","使用情况");
					/// <summary>
			/// 服务质量
			/// </summary>
			public readonly static Field SRINFO = new Field("SRINFO","AfSale_QcInfo","服务质量");
					/// <summary>
			/// 客户意见和建议
			/// </summary>
			public readonly static Field SUGTON = new Field("SUGTON","AfSale_QcInfo","客户意见和建议");
					/// <summary>
			/// 客户签字
			/// </summary>
			public readonly static Field CUSIGN = new Field("CUSIGN","AfSale_QcInfo","客户签字");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","AfSale_QcInfo","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","AfSale_QcInfo","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ATTACH = new Field("ATTACH","AfSale_QcInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ProjID = new Field("ProjID","AfSale_QcInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ProjRemark = new Field("ProjRemark","AfSale_QcInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_CONTRACT
    /// <summary>
	/// 实体类HR_CONTRACT 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_CONTRACT : Entity 
	{
	 /// <summary>
	/// 实体类HR_CONTRACT 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_CONTRACT():base("HR_CONTRACT") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private DateTime? _JOIDAT;
		
		private DateTime? _ENDDAT;
		
		private int? _CEKSAT;
		
		private string _DIRMGR;
		
		private string _HRMMGR;
		
		private string _ADDRES;
		
		private string _EMCONT;
		
		private string _EMDOCT;
		
		private string _POST;
		
		private string _REMARK;
		
		private DateTime? _ENTRYTIME;
		
		private string _InsuredAddress;
		
		private int? _StaffStatus;
		
		private DateTime? _PositiveTime;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 合同开始日期
		/// </summary>
		public DateTime? JOIDAT
		{
			get{ return _JOIDAT; }
			set
			{
				this.OnPropertyValueChange(_.JOIDAT,_JOIDAT,value);
				this._JOIDAT=value;
			}
		}

		
		/// <summary>
		/// 合同终止日期
		/// </summary>
		public DateTime? ENDDAT
		{
			get{ return _ENDDAT; }
			set
			{
				this.OnPropertyValueChange(_.ENDDAT,_ENDDAT,value);
				this._ENDDAT=value;
			}
		}

		
		/// <summary>
		/// 合同类型
		/// </summary>
		public int? CEKSAT
		{
			get{ return _CEKSAT; }
			set
			{
				this.OnPropertyValueChange(_.CEKSAT,_CEKSAT,value);
				this._CEKSAT=value;
			}
		}

		
		/// <summary>
		/// 直线经理员工编号
		/// </summary>
		public string DIRMGR
		{
			get{ return _DIRMGR; }
			set
			{
				this.OnPropertyValueChange(_.DIRMGR,_DIRMGR,value);
				this._DIRMGR=value;
			}
		}

		
		/// <summary>
		/// 人事专员员工编号
		/// </summary>
		public string HRMMGR
		{
			get{ return _HRMMGR; }
			set
			{
				this.OnPropertyValueChange(_.HRMMGR,_HRMMGR,value);
				this._HRMMGR=value;
			}
		}

		
		/// <summary>
		/// 家庭地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 紧急情况联系人
		/// </summary>
		public string EMCONT
		{
			get{ return _EMCONT; }
			set
			{
				this.OnPropertyValueChange(_.EMCONT,_EMCONT,value);
				this._EMCONT=value;
			}
		}

		
		/// <summary>
		/// 员工档案
		/// </summary>
		public string EMDOCT
		{
			get{ return _EMDOCT; }
			set
			{
				this.OnPropertyValueChange(_.EMDOCT,_EMDOCT,value);
				this._EMDOCT=value;
			}
		}

		
		/// <summary>
		/// 岗位
		/// </summary>
		public string POST
		{
			get{ return _POST; }
			set
			{
				this.OnPropertyValueChange(_.POST,_POST,value);
				this._POST=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 入司日期
		/// </summary>
		public DateTime? ENTRYTIME
		{
			get{ return _ENTRYTIME; }
			set
			{
				this.OnPropertyValueChange(_.ENTRYTIME,_ENTRYTIME,value);
				this._ENTRYTIME=value;
			}
		}

		
		/// <summary>
		/// 参保地
		/// </summary>
		public string InsuredAddress
		{
			get{ return _InsuredAddress; }
			set
			{
				this.OnPropertyValueChange(_.InsuredAddress,_InsuredAddress,value);
				this._InsuredAddress=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StaffStatus
		{
			get{ return _StaffStatus; }
			set
			{
				this.OnPropertyValueChange(_.StaffStatus,_StaffStatus,value);
				this._StaffStatus=value;
			}
		}

		
		/// <summary>
		/// 转正日期
		/// </summary>
		public DateTime? PositiveTime
		{
			get{ return _PositiveTime; }
			set
			{
				this.OnPropertyValueChange(_.PositiveTime,_PositiveTime,value);
				this._PositiveTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.JOIDAT,

			
			_.ENDDAT,

			
			_.CEKSAT,

			
			_.DIRMGR,

			
			_.HRMMGR,

			
			_.ADDRES,

			
			_.EMCONT,

			
			_.EMDOCT,

			
			_.POST,

			
			_.REMARK,

			
			_.ENTRYTIME,

			
			_.InsuredAddress,

			
			_.StaffStatus,

			
			_.PositiveTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._JOIDAT,

			
			this._ENDDAT,

			
			this._CEKSAT,

			
			this._DIRMGR,

			
			this._HRMMGR,

			
			this._ADDRES,

			
			this._EMCONT,

			
			this._EMDOCT,

			
			this._POST,

			
			this._REMARK,

			
			this._ENTRYTIME,

			
			this._InsuredAddress,

			
			this._StaffStatus,

			
			this._PositiveTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._JOIDAT = DataUtils.ConvertValue<DateTime?>(reader["JOIDAT"]);
						this._ENDDAT = DataUtils.ConvertValue<DateTime?>(reader["ENDDAT"]);
						this._CEKSAT = DataUtils.ConvertValue<int?>(reader["CEKSAT"]);
						this._DIRMGR = DataUtils.ConvertValue<string>(reader["DIRMGR"]);
						this._HRMMGR = DataUtils.ConvertValue<string>(reader["HRMMGR"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._EMCONT = DataUtils.ConvertValue<string>(reader["EMCONT"]);
						this._EMDOCT = DataUtils.ConvertValue<string>(reader["EMDOCT"]);
						this._POST = DataUtils.ConvertValue<string>(reader["POST"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._ENTRYTIME = DataUtils.ConvertValue<DateTime?>(reader["ENTRYTIME"]);
						this._InsuredAddress = DataUtils.ConvertValue<string>(reader["InsuredAddress"]);
						this._StaffStatus = DataUtils.ConvertValue<int?>(reader["StaffStatus"]);
						this._PositiveTime = DataUtils.ConvertValue<DateTime?>(reader["PositiveTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._JOIDAT = DataUtils.ConvertValue<DateTime?>(row["JOIDAT"]);
					this._ENDDAT = DataUtils.ConvertValue<DateTime?>(row["ENDDAT"]);
					this._CEKSAT = DataUtils.ConvertValue<int?>(row["CEKSAT"]);
					this._DIRMGR = DataUtils.ConvertValue<string>(row["DIRMGR"]);
					this._HRMMGR = DataUtils.ConvertValue<string>(row["HRMMGR"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._EMCONT = DataUtils.ConvertValue<string>(row["EMCONT"]);
					this._EMDOCT = DataUtils.ConvertValue<string>(row["EMDOCT"]);
					this._POST = DataUtils.ConvertValue<string>(row["POST"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._ENTRYTIME = DataUtils.ConvertValue<DateTime?>(row["ENTRYTIME"]);
					this._InsuredAddress = DataUtils.ConvertValue<string>(row["InsuredAddress"]);
					this._StaffStatus = DataUtils.ConvertValue<int?>(row["StaffStatus"]);
					this._PositiveTime = DataUtils.ConvertValue<DateTime?>(row["PositiveTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_CONTRACT");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_CONTRACT","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_CONTRACT","员工编号");
					/// <summary>
			/// 合同开始日期
			/// </summary>
			public readonly static Field JOIDAT = new Field("JOIDAT","HR_CONTRACT","合同开始日期");
					/// <summary>
			/// 合同终止日期
			/// </summary>
			public readonly static Field ENDDAT = new Field("ENDDAT","HR_CONTRACT","合同终止日期");
					/// <summary>
			/// 合同类型
			/// </summary>
			public readonly static Field CEKSAT = new Field("CEKSAT","HR_CONTRACT","合同类型");
					/// <summary>
			/// 直线经理员工编号
			/// </summary>
			public readonly static Field DIRMGR = new Field("DIRMGR","HR_CONTRACT","直线经理员工编号");
					/// <summary>
			/// 人事专员员工编号
			/// </summary>
			public readonly static Field HRMMGR = new Field("HRMMGR","HR_CONTRACT","人事专员员工编号");
					/// <summary>
			/// 家庭地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","HR_CONTRACT","家庭地址");
					/// <summary>
			/// 紧急情况联系人
			/// </summary>
			public readonly static Field EMCONT = new Field("EMCONT","HR_CONTRACT","紧急情况联系人");
					/// <summary>
			/// 员工档案
			/// </summary>
			public readonly static Field EMDOCT = new Field("EMDOCT","HR_CONTRACT","员工档案");
					/// <summary>
			/// 岗位
			/// </summary>
			public readonly static Field POST = new Field("POST","HR_CONTRACT","岗位");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","HR_CONTRACT","备注说明");
					/// <summary>
			/// 入司日期
			/// </summary>
			public readonly static Field ENTRYTIME = new Field("ENTRYTIME","HR_CONTRACT","入司日期");
					/// <summary>
			/// 参保地
			/// </summary>
			public readonly static Field InsuredAddress = new Field("InsuredAddress","HR_CONTRACT","参保地");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StaffStatus = new Field("StaffStatus","HR_CONTRACT","");
					/// <summary>
			/// 转正日期
			/// </summary>
			public readonly static Field PositiveTime = new Field("PositiveTime","HR_CONTRACT","转正日期");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_EMP
    /// <summary>
	/// 实体类HR_EMP 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_EMP : Entity 
	{
	 /// <summary>
	/// 实体类HR_EMP 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_EMP():base("HR_EMP") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private string _EMNAME;
		
		private string _ENGNAM;
		
		private string _EMPSEX;
		
		private string _COMPAY;
		
		private string _DEPMET;
		
		private int? _DEPMETID;
		
		private string _DepPath;
		
		private DateTime? _BIRDAT;
		
		private string _SHCOOL;
		
		private string _EDUCAT;
		
		private string _UEMAIL;
		
		private string _REMARK;
		
		private string _JOBS;
		
		private string _Nation;
		
		private string _Hometown;
		
		private string _IDCard;
		
		private string _PoliticalType;
		
		private DateTime? _GraduationTime;
		
		private string _Specialty;
		
		private string _Degree;
		
		private string _Phone;
		
		private string _HomeTel;
		
		private string _LinkPhone;
		
		private string _HeadLog;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 姓名
		/// </summary>
		public string EMNAME
		{
			get{ return _EMNAME; }
			set
			{
				this.OnPropertyValueChange(_.EMNAME,_EMNAME,value);
				this._EMNAME=value;
			}
		}

		
		/// <summary>
		/// 英文名
		/// </summary>
		public string ENGNAM
		{
			get{ return _ENGNAM; }
			set
			{
				this.OnPropertyValueChange(_.ENGNAM,_ENGNAM,value);
				this._ENGNAM=value;
			}
		}

		
		/// <summary>
		/// 性别
		/// </summary>
		public string EMPSEX
		{
			get{ return _EMPSEX; }
			set
			{
				this.OnPropertyValueChange(_.EMPSEX,_EMPSEX,value);
				this._EMPSEX=value;
			}
		}

		
		/// <summary>
		/// 分公司 
		/// </summary>
		public string COMPAY
		{
			get{ return _COMPAY; }
			set
			{
				this.OnPropertyValueChange(_.COMPAY,_COMPAY,value);
				this._COMPAY=value;
			}
		}

		
		/// <summary>
		/// 部门
		/// </summary>
		public string DEPMET
		{
			get{ return _DEPMET; }
			set
			{
				this.OnPropertyValueChange(_.DEPMET,_DEPMET,value);
				this._DEPMET=value;
			}
		}

		
		/// <summary>
		/// 所属部门ID
		/// </summary>
		public int? DEPMETID
		{
			get{ return _DEPMETID; }
			set
			{
				this.OnPropertyValueChange(_.DEPMETID,_DEPMETID,value);
				this._DEPMETID=value;
			}
		}

		
		/// <summary>
		/// 部门目录结构
		/// </summary>
		public string DepPath
		{
			get{ return _DepPath; }
			set
			{
				this.OnPropertyValueChange(_.DepPath,_DepPath,value);
				this._DepPath=value;
			}
		}

		
		/// <summary>
		/// 出生年月日
		/// </summary>
		public DateTime? BIRDAT
		{
			get{ return _BIRDAT; }
			set
			{
				this.OnPropertyValueChange(_.BIRDAT,_BIRDAT,value);
				this._BIRDAT=value;
			}
		}

		
		/// <summary>
		/// 毕业院校
		/// </summary>
		public string SHCOOL
		{
			get{ return _SHCOOL; }
			set
			{
				this.OnPropertyValueChange(_.SHCOOL,_SHCOOL,value);
				this._SHCOOL=value;
			}
		}

		
		/// <summary>
		/// 最高学历
		/// </summary>
		public string EDUCAT
		{
			get{ return _EDUCAT; }
			set
			{
				this.OnPropertyValueChange(_.EDUCAT,_EDUCAT,value);
				this._EDUCAT=value;
			}
		}

		
		/// <summary>
		/// 邮箱
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 职位
		/// </summary>
		public string JOBS
		{
			get{ return _JOBS; }
			set
			{
				this.OnPropertyValueChange(_.JOBS,_JOBS,value);
				this._JOBS=value;
			}
		}

		
		/// <summary>
		/// 民族
		/// </summary>
		public string Nation
		{
			get{ return _Nation; }
			set
			{
				this.OnPropertyValueChange(_.Nation,_Nation,value);
				this._Nation=value;
			}
		}

		
		/// <summary>
		/// 籍贯
		/// </summary>
		public string Hometown
		{
			get{ return _Hometown; }
			set
			{
				this.OnPropertyValueChange(_.Hometown,_Hometown,value);
				this._Hometown=value;
			}
		}

		
		/// <summary>
		/// 身份证号
		/// </summary>
		public string IDCard
		{
			get{ return _IDCard; }
			set
			{
				this.OnPropertyValueChange(_.IDCard,_IDCard,value);
				this._IDCard=value;
			}
		}

		
		/// <summary>
		/// 政治面貌
		/// </summary>
		public string PoliticalType
		{
			get{ return _PoliticalType; }
			set
			{
				this.OnPropertyValueChange(_.PoliticalType,_PoliticalType,value);
				this._PoliticalType=value;
			}
		}

		
		/// <summary>
		/// 毕业日期
		/// </summary>
		public DateTime? GraduationTime
		{
			get{ return _GraduationTime; }
			set
			{
				this.OnPropertyValueChange(_.GraduationTime,_GraduationTime,value);
				this._GraduationTime=value;
			}
		}

		
		/// <summary>
		/// 所学专业
		/// </summary>
		public string Specialty
		{
			get{ return _Specialty; }
			set
			{
				this.OnPropertyValueChange(_.Specialty,_Specialty,value);
				this._Specialty=value;
			}
		}

		
		/// <summary>
		/// 学位
		/// </summary>
		public string Degree
		{
			get{ return _Degree; }
			set
			{
				this.OnPropertyValueChange(_.Degree,_Degree,value);
				this._Degree=value;
			}
		}

		
		/// <summary>
		/// 手机号码
		/// </summary>
		public string Phone
		{
			get{ return _Phone; }
			set
			{
				this.OnPropertyValueChange(_.Phone,_Phone,value);
				this._Phone=value;
			}
		}

		
		/// <summary>
		/// 家庭电话
		/// </summary>
		public string HomeTel
		{
			get{ return _HomeTel; }
			set
			{
				this.OnPropertyValueChange(_.HomeTel,_HomeTel,value);
				this._HomeTel=value;
			}
		}

		
		/// <summary>
		/// 紧急联系电话
		/// </summary>
		public string LinkPhone
		{
			get{ return _LinkPhone; }
			set
			{
				this.OnPropertyValueChange(_.LinkPhone,_LinkPhone,value);
				this._LinkPhone=value;
			}
		}

		
		/// <summary>
		/// 头像
		/// </summary>
		public string HeadLog
		{
			get{ return _HeadLog; }
			set
			{
				this.OnPropertyValueChange(_.HeadLog,_HeadLog,value);
				this._HeadLog=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.EMNAME,

			
			_.ENGNAM,

			
			_.EMPSEX,

			
			_.COMPAY,

			
			_.DEPMET,

			
			_.DEPMETID,

			
			_.DepPath,

			
			_.BIRDAT,

			
			_.SHCOOL,

			
			_.EDUCAT,

			
			_.UEMAIL,

			
			_.REMARK,

			
			_.JOBS,

			
			_.Nation,

			
			_.Hometown,

			
			_.IDCard,

			
			_.PoliticalType,

			
			_.GraduationTime,

			
			_.Specialty,

			
			_.Degree,

			
			_.Phone,

			
			_.HomeTel,

			
			_.LinkPhone,

			
			_.HeadLog

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._EMNAME,

			
			this._ENGNAM,

			
			this._EMPSEX,

			
			this._COMPAY,

			
			this._DEPMET,

			
			this._DEPMETID,

			
			this._DepPath,

			
			this._BIRDAT,

			
			this._SHCOOL,

			
			this._EDUCAT,

			
			this._UEMAIL,

			
			this._REMARK,

			
			this._JOBS,

			
			this._Nation,

			
			this._Hometown,

			
			this._IDCard,

			
			this._PoliticalType,

			
			this._GraduationTime,

			
			this._Specialty,

			
			this._Degree,

			
			this._Phone,

			
			this._HomeTel,

			
			this._LinkPhone,

			
			this._HeadLog

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._EMNAME = DataUtils.ConvertValue<string>(reader["EMNAME"]);
						this._ENGNAM = DataUtils.ConvertValue<string>(reader["ENGNAM"]);
						this._EMPSEX = DataUtils.ConvertValue<string>(reader["EMPSEX"]);
						this._COMPAY = DataUtils.ConvertValue<string>(reader["COMPAY"]);
						this._DEPMET = DataUtils.ConvertValue<string>(reader["DEPMET"]);
						this._DEPMETID = DataUtils.ConvertValue<int?>(reader["DEPMETID"]);
						this._DepPath = DataUtils.ConvertValue<string>(reader["DepPath"]);
						this._BIRDAT = DataUtils.ConvertValue<DateTime?>(reader["BIRDAT"]);
						this._SHCOOL = DataUtils.ConvertValue<string>(reader["SHCOOL"]);
						this._EDUCAT = DataUtils.ConvertValue<string>(reader["EDUCAT"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._JOBS = DataUtils.ConvertValue<string>(reader["JOBS"]);
						this._Nation = DataUtils.ConvertValue<string>(reader["Nation"]);
						this._Hometown = DataUtils.ConvertValue<string>(reader["Hometown"]);
						this._IDCard = DataUtils.ConvertValue<string>(reader["IDCard"]);
						this._PoliticalType = DataUtils.ConvertValue<string>(reader["PoliticalType"]);
						this._GraduationTime = DataUtils.ConvertValue<DateTime?>(reader["GraduationTime"]);
						this._Specialty = DataUtils.ConvertValue<string>(reader["Specialty"]);
						this._Degree = DataUtils.ConvertValue<string>(reader["Degree"]);
						this._Phone = DataUtils.ConvertValue<string>(reader["Phone"]);
						this._HomeTel = DataUtils.ConvertValue<string>(reader["HomeTel"]);
						this._LinkPhone = DataUtils.ConvertValue<string>(reader["LinkPhone"]);
						this._HeadLog = DataUtils.ConvertValue<string>(reader["HeadLog"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._EMNAME = DataUtils.ConvertValue<string>(row["EMNAME"]);
					this._ENGNAM = DataUtils.ConvertValue<string>(row["ENGNAM"]);
					this._EMPSEX = DataUtils.ConvertValue<string>(row["EMPSEX"]);
					this._COMPAY = DataUtils.ConvertValue<string>(row["COMPAY"]);
					this._DEPMET = DataUtils.ConvertValue<string>(row["DEPMET"]);
					this._DEPMETID = DataUtils.ConvertValue<int?>(row["DEPMETID"]);
					this._DepPath = DataUtils.ConvertValue<string>(row["DepPath"]);
					this._BIRDAT = DataUtils.ConvertValue<DateTime?>(row["BIRDAT"]);
					this._SHCOOL = DataUtils.ConvertValue<string>(row["SHCOOL"]);
					this._EDUCAT = DataUtils.ConvertValue<string>(row["EDUCAT"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._JOBS = DataUtils.ConvertValue<string>(row["JOBS"]);
					this._Nation = DataUtils.ConvertValue<string>(row["Nation"]);
					this._Hometown = DataUtils.ConvertValue<string>(row["Hometown"]);
					this._IDCard = DataUtils.ConvertValue<string>(row["IDCard"]);
					this._PoliticalType = DataUtils.ConvertValue<string>(row["PoliticalType"]);
					this._GraduationTime = DataUtils.ConvertValue<DateTime?>(row["GraduationTime"]);
					this._Specialty = DataUtils.ConvertValue<string>(row["Specialty"]);
					this._Degree = DataUtils.ConvertValue<string>(row["Degree"]);
					this._Phone = DataUtils.ConvertValue<string>(row["Phone"]);
					this._HomeTel = DataUtils.ConvertValue<string>(row["HomeTel"]);
					this._LinkPhone = DataUtils.ConvertValue<string>(row["LinkPhone"]);
					this._HeadLog = DataUtils.ConvertValue<string>(row["HeadLog"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_EMP");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_EMP","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_EMP","员工编号");
					/// <summary>
			/// 姓名
			/// </summary>
			public readonly static Field EMNAME = new Field("EMNAME","HR_EMP","姓名");
					/// <summary>
			/// 英文名
			/// </summary>
			public readonly static Field ENGNAM = new Field("ENGNAM","HR_EMP","英文名");
					/// <summary>
			/// 性别
			/// </summary>
			public readonly static Field EMPSEX = new Field("EMPSEX","HR_EMP","性别");
					/// <summary>
			/// 分公司 
			/// </summary>
			public readonly static Field COMPAY = new Field("COMPAY","HR_EMP","分公司 ");
					/// <summary>
			/// 部门
			/// </summary>
			public readonly static Field DEPMET = new Field("DEPMET","HR_EMP","部门");
					/// <summary>
			/// 所属部门ID
			/// </summary>
			public readonly static Field DEPMETID = new Field("DEPMETID","HR_EMP","所属部门ID");
					/// <summary>
			/// 部门目录结构
			/// </summary>
			public readonly static Field DepPath = new Field("DepPath","HR_EMP","部门目录结构");
					/// <summary>
			/// 出生年月日
			/// </summary>
			public readonly static Field BIRDAT = new Field("BIRDAT","HR_EMP","出生年月日");
					/// <summary>
			/// 毕业院校
			/// </summary>
			public readonly static Field SHCOOL = new Field("SHCOOL","HR_EMP","毕业院校");
					/// <summary>
			/// 最高学历
			/// </summary>
			public readonly static Field EDUCAT = new Field("EDUCAT","HR_EMP","最高学历");
					/// <summary>
			/// 邮箱
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","HR_EMP","邮箱");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","HR_EMP","备注");
					/// <summary>
			/// 职位
			/// </summary>
			public readonly static Field JOBS = new Field("JOBS","HR_EMP","职位");
					/// <summary>
			/// 民族
			/// </summary>
			public readonly static Field Nation = new Field("Nation","HR_EMP","民族");
					/// <summary>
			/// 籍贯
			/// </summary>
			public readonly static Field Hometown = new Field("Hometown","HR_EMP","籍贯");
					/// <summary>
			/// 身份证号
			/// </summary>
			public readonly static Field IDCard = new Field("IDCard","HR_EMP","身份证号");
					/// <summary>
			/// 政治面貌
			/// </summary>
			public readonly static Field PoliticalType = new Field("PoliticalType","HR_EMP","政治面貌");
					/// <summary>
			/// 毕业日期
			/// </summary>
			public readonly static Field GraduationTime = new Field("GraduationTime","HR_EMP","毕业日期");
					/// <summary>
			/// 所学专业
			/// </summary>
			public readonly static Field Specialty = new Field("Specialty","HR_EMP","所学专业");
					/// <summary>
			/// 学位
			/// </summary>
			public readonly static Field Degree = new Field("Degree","HR_EMP","学位");
					/// <summary>
			/// 手机号码
			/// </summary>
			public readonly static Field Phone = new Field("Phone","HR_EMP","手机号码");
					/// <summary>
			/// 家庭电话
			/// </summary>
			public readonly static Field HomeTel = new Field("HomeTel","HR_EMP","家庭电话");
					/// <summary>
			/// 紧急联系电话
			/// </summary>
			public readonly static Field LinkPhone = new Field("LinkPhone","HR_EMP","紧急联系电话");
					/// <summary>
			/// 头像
			/// </summary>
			public readonly static Field HeadLog = new Field("HeadLog","HR_EMP","头像");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_ESALY
    /// <summary>
	/// 实体类HR_ESALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_ESALY : Entity 
	{
	 /// <summary>
	/// 实体类HR_ESALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_ESALY():base("HR_ESALY") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private DateTime? _YMONTH;
		
		private decimal? _JSALARY;
		
		private decimal? _CSALRY;
		
		private decimal? _ASALRY;
		
		private decimal? _PSALRY;
		
		private decimal? _LSALRY;
		
		private decimal? _OSALRY;
		
		private decimal? _ABSENC;
		
		private decimal? _PERTAX;
		
		private int? _YEAR;
		
		private int? _MONTH;
		
		private decimal? _PERSAFE;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 年月
		/// </summary>
		public DateTime? YMONTH
		{
			get{ return _YMONTH; }
			set
			{
				this.OnPropertyValueChange(_.YMONTH,_YMONTH,value);
				this._YMONTH=value;
			}
		}

		
		/// <summary>
		/// 绩效工资
		/// </summary>
		public decimal? JSALARY
		{
			get{ return _JSALARY; }
			set
			{
				this.OnPropertyValueChange(_.JSALARY,_JSALARY,value);
				this._JSALARY=value;
			}
		}

		
		/// <summary>
		/// 通讯费
		/// </summary>
		public decimal? CSALRY
		{
			get{ return _CSALRY; }
			set
			{
				this.OnPropertyValueChange(_.CSALRY,_CSALRY,value);
				this._CSALRY=value;
			}
		}

		
		/// <summary>
		/// 过节费
		/// </summary>
		public decimal? ASALRY
		{
			get{ return _ASALRY; }
			set
			{
				this.OnPropertyValueChange(_.ASALRY,_ASALRY,value);
				this._ASALRY=value;
			}
		}

		
		/// <summary>
		/// 奖金
		/// </summary>
		public decimal? PSALRY
		{
			get{ return _PSALRY; }
			set
			{
				this.OnPropertyValueChange(_.PSALRY,_PSALRY,value);
				this._PSALRY=value;
			}
		}

		
		/// <summary>
		/// 午餐补贴
		/// </summary>
		public decimal? LSALRY
		{
			get{ return _LSALRY; }
			set
			{
				this.OnPropertyValueChange(_.LSALRY,_LSALRY,value);
				this._LSALRY=value;
			}
		}

		
		/// <summary>
		/// 其它补贴
		/// </summary>
		public decimal? OSALRY
		{
			get{ return _OSALRY; }
			set
			{
				this.OnPropertyValueChange(_.OSALRY,_OSALRY,value);
				this._OSALRY=value;
			}
		}

		
		/// <summary>
		/// 缺勤应扣
		/// </summary>
		public decimal? ABSENC
		{
			get{ return _ABSENC; }
			set
			{
				this.OnPropertyValueChange(_.ABSENC,_ABSENC,value);
				this._ABSENC=value;
			}
		}

		
		/// <summary>
		/// 个人所得税 
		/// </summary>
		public decimal? PERTAX
		{
			get{ return _PERTAX; }
			set
			{
				this.OnPropertyValueChange(_.PERTAX,_PERTAX,value);
				this._PERTAX=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? YEAR
		{
			get{ return _YEAR; }
			set
			{
				this.OnPropertyValueChange(_.YEAR,_YEAR,value);
				this._YEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MONTH
		{
			get{ return _MONTH; }
			set
			{
				this.OnPropertyValueChange(_.MONTH,_MONTH,value);
				this._MONTH=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PERSAFE
		{
			get{ return _PERSAFE; }
			set
			{
				this.OnPropertyValueChange(_.PERSAFE,_PERSAFE,value);
				this._PERSAFE=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.YMONTH,

			
			_.JSALARY,

			
			_.CSALRY,

			
			_.ASALRY,

			
			_.PSALRY,

			
			_.LSALRY,

			
			_.OSALRY,

			
			_.ABSENC,

			
			_.PERTAX,

			
			_.YEAR,

			
			_.MONTH,

			
			_.PERSAFE

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._YMONTH,

			
			this._JSALARY,

			
			this._CSALRY,

			
			this._ASALRY,

			
			this._PSALRY,

			
			this._LSALRY,

			
			this._OSALRY,

			
			this._ABSENC,

			
			this._PERTAX,

			
			this._YEAR,

			
			this._MONTH,

			
			this._PERSAFE

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._YMONTH = DataUtils.ConvertValue<DateTime?>(reader["YMONTH"]);
						this._JSALARY = DataUtils.ConvertValue<decimal?>(reader["JSALARY"]);
						this._CSALRY = DataUtils.ConvertValue<decimal?>(reader["CSALRY"]);
						this._ASALRY = DataUtils.ConvertValue<decimal?>(reader["ASALRY"]);
						this._PSALRY = DataUtils.ConvertValue<decimal?>(reader["PSALRY"]);
						this._LSALRY = DataUtils.ConvertValue<decimal?>(reader["LSALRY"]);
						this._OSALRY = DataUtils.ConvertValue<decimal?>(reader["OSALRY"]);
						this._ABSENC = DataUtils.ConvertValue<decimal?>(reader["ABSENC"]);
						this._PERTAX = DataUtils.ConvertValue<decimal?>(reader["PERTAX"]);
						this._YEAR = DataUtils.ConvertValue<int?>(reader["YEAR"]);
						this._MONTH = DataUtils.ConvertValue<int?>(reader["MONTH"]);
						this._PERSAFE = DataUtils.ConvertValue<decimal?>(reader["PERSAFE"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._YMONTH = DataUtils.ConvertValue<DateTime?>(row["YMONTH"]);
					this._JSALARY = DataUtils.ConvertValue<decimal?>(row["JSALARY"]);
					this._CSALRY = DataUtils.ConvertValue<decimal?>(row["CSALRY"]);
					this._ASALRY = DataUtils.ConvertValue<decimal?>(row["ASALRY"]);
					this._PSALRY = DataUtils.ConvertValue<decimal?>(row["PSALRY"]);
					this._LSALRY = DataUtils.ConvertValue<decimal?>(row["LSALRY"]);
					this._OSALRY = DataUtils.ConvertValue<decimal?>(row["OSALRY"]);
					this._ABSENC = DataUtils.ConvertValue<decimal?>(row["ABSENC"]);
					this._PERTAX = DataUtils.ConvertValue<decimal?>(row["PERTAX"]);
					this._YEAR = DataUtils.ConvertValue<int?>(row["YEAR"]);
					this._MONTH = DataUtils.ConvertValue<int?>(row["MONTH"]);
					this._PERSAFE = DataUtils.ConvertValue<decimal?>(row["PERSAFE"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_ESALY");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_ESALY","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_ESALY","员工编号");
					/// <summary>
			/// 年月
			/// </summary>
			public readonly static Field YMONTH = new Field("YMONTH","HR_ESALY","年月");
					/// <summary>
			/// 绩效工资
			/// </summary>
			public readonly static Field JSALARY = new Field("JSALARY","HR_ESALY","绩效工资");
					/// <summary>
			/// 通讯费
			/// </summary>
			public readonly static Field CSALRY = new Field("CSALRY","HR_ESALY","通讯费");
					/// <summary>
			/// 过节费
			/// </summary>
			public readonly static Field ASALRY = new Field("ASALRY","HR_ESALY","过节费");
					/// <summary>
			/// 奖金
			/// </summary>
			public readonly static Field PSALRY = new Field("PSALRY","HR_ESALY","奖金");
					/// <summary>
			/// 午餐补贴
			/// </summary>
			public readonly static Field LSALRY = new Field("LSALRY","HR_ESALY","午餐补贴");
					/// <summary>
			/// 其它补贴
			/// </summary>
			public readonly static Field OSALRY = new Field("OSALRY","HR_ESALY","其它补贴");
					/// <summary>
			/// 缺勤应扣
			/// </summary>
			public readonly static Field ABSENC = new Field("ABSENC","HR_ESALY","缺勤应扣");
					/// <summary>
			/// 个人所得税 
			/// </summary>
			public readonly static Field PERTAX = new Field("PERTAX","HR_ESALY","个人所得税 ");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field YEAR = new Field("YEAR","HR_ESALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MONTH = new Field("MONTH","HR_ESALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PERSAFE = new Field("PERSAFE","HR_ESALY","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_Insurance
    /// <summary>
	/// 实体类HR_Insurance 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_Insurance : Entity 
	{
	 /// <summary>
	/// 实体类HR_Insurance 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_Insurance():base("HR_Insurance") {}

		#region Model

		
		private int _ID;
		
		private string _EmpNo;
		
		private int? _PayMonth;
		
		private int? _PayYear;
		
		private string _PayType;
		
		private string _PayStuts;
		
		private string _PayStartMonth;
		
		private decimal? _SocialBase;
		
		private decimal? _ProvBase;
		
		private decimal? _NursPerson;
		
		private decimal? _MedicalPerson;
		
		private decimal? _UnemployePerson;
		
		private decimal? _PersonTotal;
		
		private decimal? _NursCompany;
		
		private decimal? _MedicalCompany;
		
		private decimal? _UnemployeCompany;
		
		private decimal? _BirthCompany;
		
		private decimal? _InjuryCompany;
		
		private decimal? _CompanyTotal;
		
		private decimal? _SocialTotal;
		
		private decimal? _ProvPerson;
		
		private decimal? _ProvCompany;
		
		private decimal? _ProvTotal;
		
		private decimal? _CompanyAmount;
		
		private decimal? _PersonAmount;
		
		private decimal? _Amounts;
		
		private string _Memo;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EmpNo
		{
			get{ return _EmpNo; }
			set
			{
				this.OnPropertyValueChange(_.EmpNo,_EmpNo,value);
				this._EmpNo=value;
			}
		}

		
		/// <summary>
		/// 保险月份
		/// </summary>
		public int? PayMonth
		{
			get{ return _PayMonth; }
			set
			{
				this.OnPropertyValueChange(_.PayMonth,_PayMonth,value);
				this._PayMonth=value;
			}
		}

		
		/// <summary>
		/// 缴纳年份
		/// </summary>
		public int? PayYear
		{
			get{ return _PayYear; }
			set
			{
				this.OnPropertyValueChange(_.PayYear,_PayYear,value);
				this._PayYear=value;
			}
		}

		
		/// <summary>
		/// 缴纳类型
		/// </summary>
		public string PayType
		{
			get{ return _PayType; }
			set
			{
				this.OnPropertyValueChange(_.PayType,_PayType,value);
				this._PayType=value;
			}
		}

		
		/// <summary>
		/// 缴纳状态
		/// </summary>
		public string PayStuts
		{
			get{ return _PayStuts; }
			set
			{
				this.OnPropertyValueChange(_.PayStuts,_PayStuts,value);
				this._PayStuts=value;
			}
		}

		
		/// <summary>
		/// 缴费起始月
		/// </summary>
		public string PayStartMonth
		{
			get{ return _PayStartMonth; }
			set
			{
				this.OnPropertyValueChange(_.PayStartMonth,_PayStartMonth,value);
				this._PayStartMonth=value;
			}
		}

		
		/// <summary>
		/// 社保缴纳基数
		/// </summary>
		public decimal? SocialBase
		{
			get{ return _SocialBase; }
			set
			{
				this.OnPropertyValueChange(_.SocialBase,_SocialBase,value);
				this._SocialBase=value;
			}
		}

		
		/// <summary>
		/// 公积金缴纳基数
		/// </summary>
		public decimal? ProvBase
		{
			get{ return _ProvBase; }
			set
			{
				this.OnPropertyValueChange(_.ProvBase,_ProvBase,value);
				this._ProvBase=value;
			}
		}

		
		/// <summary>
		/// 养老个人
		/// </summary>
		public decimal? NursPerson
		{
			get{ return _NursPerson; }
			set
			{
				this.OnPropertyValueChange(_.NursPerson,_NursPerson,value);
				this._NursPerson=value;
			}
		}

		
		/// <summary>
		/// 医疗个人
		/// </summary>
		public decimal? MedicalPerson
		{
			get{ return _MedicalPerson; }
			set
			{
				this.OnPropertyValueChange(_.MedicalPerson,_MedicalPerson,value);
				this._MedicalPerson=value;
			}
		}

		
		/// <summary>
		/// 失业个人
		/// </summary>
		public decimal? UnemployePerson
		{
			get{ return _UnemployePerson; }
			set
			{
				this.OnPropertyValueChange(_.UnemployePerson,_UnemployePerson,value);
				this._UnemployePerson=value;
			}
		}

		
		/// <summary>
		/// 个人合计
		/// </summary>
		public decimal? PersonTotal
		{
			get{ return _PersonTotal; }
			set
			{
				this.OnPropertyValueChange(_.PersonTotal,_PersonTotal,value);
				this._PersonTotal=value;
			}
		}

		
		/// <summary>
		/// 养老单位
		/// </summary>
		public decimal? NursCompany
		{
			get{ return _NursCompany; }
			set
			{
				this.OnPropertyValueChange(_.NursCompany,_NursCompany,value);
				this._NursCompany=value;
			}
		}

		
		/// <summary>
		/// 医疗单位
		/// </summary>
		public decimal? MedicalCompany
		{
			get{ return _MedicalCompany; }
			set
			{
				this.OnPropertyValueChange(_.MedicalCompany,_MedicalCompany,value);
				this._MedicalCompany=value;
			}
		}

		
		/// <summary>
		/// 失业单位
		/// </summary>
		public decimal? UnemployeCompany
		{
			get{ return _UnemployeCompany; }
			set
			{
				this.OnPropertyValueChange(_.UnemployeCompany,_UnemployeCompany,value);
				this._UnemployeCompany=value;
			}
		}

		
		/// <summary>
		/// 生育单位
		/// </summary>
		public decimal? BirthCompany
		{
			get{ return _BirthCompany; }
			set
			{
				this.OnPropertyValueChange(_.BirthCompany,_BirthCompany,value);
				this._BirthCompany=value;
			}
		}

		
		/// <summary>
		/// 工伤单位
		/// </summary>
		public decimal? InjuryCompany
		{
			get{ return _InjuryCompany; }
			set
			{
				this.OnPropertyValueChange(_.InjuryCompany,_InjuryCompany,value);
				this._InjuryCompany=value;
			}
		}

		
		/// <summary>
		/// 单位合计
		/// </summary>
		public decimal? CompanyTotal
		{
			get{ return _CompanyTotal; }
			set
			{
				this.OnPropertyValueChange(_.CompanyTotal,_CompanyTotal,value);
				this._CompanyTotal=value;
			}
		}

		
		/// <summary>
		/// 社保合计
		/// </summary>
		public decimal? SocialTotal
		{
			get{ return _SocialTotal; }
			set
			{
				this.OnPropertyValueChange(_.SocialTotal,_SocialTotal,value);
				this._SocialTotal=value;
			}
		}

		
		/// <summary>
		/// 公积金个人
		/// </summary>
		public decimal? ProvPerson
		{
			get{ return _ProvPerson; }
			set
			{
				this.OnPropertyValueChange(_.ProvPerson,_ProvPerson,value);
				this._ProvPerson=value;
			}
		}

		
		/// <summary>
		/// 公积金单位
		/// </summary>
		public decimal? ProvCompany
		{
			get{ return _ProvCompany; }
			set
			{
				this.OnPropertyValueChange(_.ProvCompany,_ProvCompany,value);
				this._ProvCompany=value;
			}
		}

		
		/// <summary>
		/// 公积金合计
		/// </summary>
		public decimal? ProvTotal
		{
			get{ return _ProvTotal; }
			set
			{
				this.OnPropertyValueChange(_.ProvTotal,_ProvTotal,value);
				this._ProvTotal=value;
			}
		}

		
		/// <summary>
		/// 公司合计
		/// </summary>
		public decimal? CompanyAmount
		{
			get{ return _CompanyAmount; }
			set
			{
				this.OnPropertyValueChange(_.CompanyAmount,_CompanyAmount,value);
				this._CompanyAmount=value;
			}
		}

		
		/// <summary>
		/// 个人合计
		/// </summary>
		public decimal? PersonAmount
		{
			get{ return _PersonAmount; }
			set
			{
				this.OnPropertyValueChange(_.PersonAmount,_PersonAmount,value);
				this._PersonAmount=value;
			}
		}

		
		/// <summary>
		/// 总合计
		/// </summary>
		public decimal? Amounts
		{
			get{ return _Amounts; }
			set
			{
				this.OnPropertyValueChange(_.Amounts,_Amounts,value);
				this._Amounts=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string Memo
		{
			get{ return _Memo; }
			set
			{
				this.OnPropertyValueChange(_.Memo,_Memo,value);
				this._Memo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EmpNo,

			
			_.PayMonth,

			
			_.PayYear,

			
			_.PayType,

			
			_.PayStuts,

			
			_.PayStartMonth,

			
			_.SocialBase,

			
			_.ProvBase,

			
			_.NursPerson,

			
			_.MedicalPerson,

			
			_.UnemployePerson,

			
			_.PersonTotal,

			
			_.NursCompany,

			
			_.MedicalCompany,

			
			_.UnemployeCompany,

			
			_.BirthCompany,

			
			_.InjuryCompany,

			
			_.CompanyTotal,

			
			_.SocialTotal,

			
			_.ProvPerson,

			
			_.ProvCompany,

			
			_.ProvTotal,

			
			_.CompanyAmount,

			
			_.PersonAmount,

			
			_.Amounts,

			
			_.Memo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EmpNo,

			
			this._PayMonth,

			
			this._PayYear,

			
			this._PayType,

			
			this._PayStuts,

			
			this._PayStartMonth,

			
			this._SocialBase,

			
			this._ProvBase,

			
			this._NursPerson,

			
			this._MedicalPerson,

			
			this._UnemployePerson,

			
			this._PersonTotal,

			
			this._NursCompany,

			
			this._MedicalCompany,

			
			this._UnemployeCompany,

			
			this._BirthCompany,

			
			this._InjuryCompany,

			
			this._CompanyTotal,

			
			this._SocialTotal,

			
			this._ProvPerson,

			
			this._ProvCompany,

			
			this._ProvTotal,

			
			this._CompanyAmount,

			
			this._PersonAmount,

			
			this._Amounts,

			
			this._Memo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EmpNo = DataUtils.ConvertValue<string>(reader["EmpNo"]);
						this._PayMonth = DataUtils.ConvertValue<int?>(reader["PayMonth"]);
						this._PayYear = DataUtils.ConvertValue<int?>(reader["PayYear"]);
						this._PayType = DataUtils.ConvertValue<string>(reader["PayType"]);
						this._PayStuts = DataUtils.ConvertValue<string>(reader["PayStuts"]);
						this._PayStartMonth = DataUtils.ConvertValue<string>(reader["PayStartMonth"]);
						this._SocialBase = DataUtils.ConvertValue<decimal?>(reader["SocialBase"]);
						this._ProvBase = DataUtils.ConvertValue<decimal?>(reader["ProvBase"]);
						this._NursPerson = DataUtils.ConvertValue<decimal?>(reader["NursPerson"]);
						this._MedicalPerson = DataUtils.ConvertValue<decimal?>(reader["MedicalPerson"]);
						this._UnemployePerson = DataUtils.ConvertValue<decimal?>(reader["UnemployePerson"]);
						this._PersonTotal = DataUtils.ConvertValue<decimal?>(reader["PersonTotal"]);
						this._NursCompany = DataUtils.ConvertValue<decimal?>(reader["NursCompany"]);
						this._MedicalCompany = DataUtils.ConvertValue<decimal?>(reader["MedicalCompany"]);
						this._UnemployeCompany = DataUtils.ConvertValue<decimal?>(reader["UnemployeCompany"]);
						this._BirthCompany = DataUtils.ConvertValue<decimal?>(reader["BirthCompany"]);
						this._InjuryCompany = DataUtils.ConvertValue<decimal?>(reader["InjuryCompany"]);
						this._CompanyTotal = DataUtils.ConvertValue<decimal?>(reader["CompanyTotal"]);
						this._SocialTotal = DataUtils.ConvertValue<decimal?>(reader["SocialTotal"]);
						this._ProvPerson = DataUtils.ConvertValue<decimal?>(reader["ProvPerson"]);
						this._ProvCompany = DataUtils.ConvertValue<decimal?>(reader["ProvCompany"]);
						this._ProvTotal = DataUtils.ConvertValue<decimal?>(reader["ProvTotal"]);
						this._CompanyAmount = DataUtils.ConvertValue<decimal?>(reader["CompanyAmount"]);
						this._PersonAmount = DataUtils.ConvertValue<decimal?>(reader["PersonAmount"]);
						this._Amounts = DataUtils.ConvertValue<decimal?>(reader["Amounts"]);
						this._Memo = DataUtils.ConvertValue<string>(reader["Memo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EmpNo = DataUtils.ConvertValue<string>(row["EmpNo"]);
					this._PayMonth = DataUtils.ConvertValue<int?>(row["PayMonth"]);
					this._PayYear = DataUtils.ConvertValue<int?>(row["PayYear"]);
					this._PayType = DataUtils.ConvertValue<string>(row["PayType"]);
					this._PayStuts = DataUtils.ConvertValue<string>(row["PayStuts"]);
					this._PayStartMonth = DataUtils.ConvertValue<string>(row["PayStartMonth"]);
					this._SocialBase = DataUtils.ConvertValue<decimal?>(row["SocialBase"]);
					this._ProvBase = DataUtils.ConvertValue<decimal?>(row["ProvBase"]);
					this._NursPerson = DataUtils.ConvertValue<decimal?>(row["NursPerson"]);
					this._MedicalPerson = DataUtils.ConvertValue<decimal?>(row["MedicalPerson"]);
					this._UnemployePerson = DataUtils.ConvertValue<decimal?>(row["UnemployePerson"]);
					this._PersonTotal = DataUtils.ConvertValue<decimal?>(row["PersonTotal"]);
					this._NursCompany = DataUtils.ConvertValue<decimal?>(row["NursCompany"]);
					this._MedicalCompany = DataUtils.ConvertValue<decimal?>(row["MedicalCompany"]);
					this._UnemployeCompany = DataUtils.ConvertValue<decimal?>(row["UnemployeCompany"]);
					this._BirthCompany = DataUtils.ConvertValue<decimal?>(row["BirthCompany"]);
					this._InjuryCompany = DataUtils.ConvertValue<decimal?>(row["InjuryCompany"]);
					this._CompanyTotal = DataUtils.ConvertValue<decimal?>(row["CompanyTotal"]);
					this._SocialTotal = DataUtils.ConvertValue<decimal?>(row["SocialTotal"]);
					this._ProvPerson = DataUtils.ConvertValue<decimal?>(row["ProvPerson"]);
					this._ProvCompany = DataUtils.ConvertValue<decimal?>(row["ProvCompany"]);
					this._ProvTotal = DataUtils.ConvertValue<decimal?>(row["ProvTotal"]);
					this._CompanyAmount = DataUtils.ConvertValue<decimal?>(row["CompanyAmount"]);
					this._PersonAmount = DataUtils.ConvertValue<decimal?>(row["PersonAmount"]);
					this._Amounts = DataUtils.ConvertValue<decimal?>(row["Amounts"]);
					this._Memo = DataUtils.ConvertValue<string>(row["Memo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_Insurance");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_Insurance","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EmpNo = new Field("EmpNo","HR_Insurance","员工编号");
					/// <summary>
			/// 保险月份
			/// </summary>
			public readonly static Field PayMonth = new Field("PayMonth","HR_Insurance","保险月份");
					/// <summary>
			/// 缴纳年份
			/// </summary>
			public readonly static Field PayYear = new Field("PayYear","HR_Insurance","缴纳年份");
					/// <summary>
			/// 缴纳类型
			/// </summary>
			public readonly static Field PayType = new Field("PayType","HR_Insurance","缴纳类型");
					/// <summary>
			/// 缴纳状态
			/// </summary>
			public readonly static Field PayStuts = new Field("PayStuts","HR_Insurance","缴纳状态");
					/// <summary>
			/// 缴费起始月
			/// </summary>
			public readonly static Field PayStartMonth = new Field("PayStartMonth","HR_Insurance","缴费起始月");
					/// <summary>
			/// 社保缴纳基数
			/// </summary>
			public readonly static Field SocialBase = new Field("SocialBase","HR_Insurance","社保缴纳基数");
					/// <summary>
			/// 公积金缴纳基数
			/// </summary>
			public readonly static Field ProvBase = new Field("ProvBase","HR_Insurance","公积金缴纳基数");
					/// <summary>
			/// 养老个人
			/// </summary>
			public readonly static Field NursPerson = new Field("NursPerson","HR_Insurance","养老个人");
					/// <summary>
			/// 医疗个人
			/// </summary>
			public readonly static Field MedicalPerson = new Field("MedicalPerson","HR_Insurance","医疗个人");
					/// <summary>
			/// 失业个人
			/// </summary>
			public readonly static Field UnemployePerson = new Field("UnemployePerson","HR_Insurance","失业个人");
					/// <summary>
			/// 个人合计
			/// </summary>
			public readonly static Field PersonTotal = new Field("PersonTotal","HR_Insurance","个人合计");
					/// <summary>
			/// 养老单位
			/// </summary>
			public readonly static Field NursCompany = new Field("NursCompany","HR_Insurance","养老单位");
					/// <summary>
			/// 医疗单位
			/// </summary>
			public readonly static Field MedicalCompany = new Field("MedicalCompany","HR_Insurance","医疗单位");
					/// <summary>
			/// 失业单位
			/// </summary>
			public readonly static Field UnemployeCompany = new Field("UnemployeCompany","HR_Insurance","失业单位");
					/// <summary>
			/// 生育单位
			/// </summary>
			public readonly static Field BirthCompany = new Field("BirthCompany","HR_Insurance","生育单位");
					/// <summary>
			/// 工伤单位
			/// </summary>
			public readonly static Field InjuryCompany = new Field("InjuryCompany","HR_Insurance","工伤单位");
					/// <summary>
			/// 单位合计
			/// </summary>
			public readonly static Field CompanyTotal = new Field("CompanyTotal","HR_Insurance","单位合计");
					/// <summary>
			/// 社保合计
			/// </summary>
			public readonly static Field SocialTotal = new Field("SocialTotal","HR_Insurance","社保合计");
					/// <summary>
			/// 公积金个人
			/// </summary>
			public readonly static Field ProvPerson = new Field("ProvPerson","HR_Insurance","公积金个人");
					/// <summary>
			/// 公积金单位
			/// </summary>
			public readonly static Field ProvCompany = new Field("ProvCompany","HR_Insurance","公积金单位");
					/// <summary>
			/// 公积金合计
			/// </summary>
			public readonly static Field ProvTotal = new Field("ProvTotal","HR_Insurance","公积金合计");
					/// <summary>
			/// 公司合计
			/// </summary>
			public readonly static Field CompanyAmount = new Field("CompanyAmount","HR_Insurance","公司合计");
					/// <summary>
			/// 个人合计
			/// </summary>
			public readonly static Field PersonAmount = new Field("PersonAmount","HR_Insurance","个人合计");
					/// <summary>
			/// 总合计
			/// </summary>
			public readonly static Field Amounts = new Field("Amounts","HR_Insurance","总合计");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field Memo = new Field("Memo","HR_Insurance","备注");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_MailSendLogs
    /// <summary>
	/// 实体类HR_MailSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_MailSendLogs : Entity 
	{
	 /// <summary>
	/// 实体类HR_MailSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_MailSendLogs():base("HR_MailSendLogs") {}

		#region Model

		
		private int _ID;
		
		private string _Mail;
		
		private DateTime? _SendTime;
		
		private int? _Sid;
		
		private int? _Mtype;
		
		private int? _AuditUid;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Mail
		{
			get{ return _Mail; }
			set
			{
				this.OnPropertyValueChange(_.Mail,_Mail,value);
				this._Mail=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? SendTime
		{
			get{ return _SendTime; }
			set
			{
				this.OnPropertyValueChange(_.SendTime,_SendTime,value);
				this._SendTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Sid
		{
			get{ return _Sid; }
			set
			{
				this.OnPropertyValueChange(_.Sid,_Sid,value);
				this._Sid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AuditUid
		{
			get{ return _AuditUid; }
			set
			{
				this.OnPropertyValueChange(_.AuditUid,_AuditUid,value);
				this._AuditUid=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Mail,

			
			_.SendTime,

			
			_.Sid,

			
			_.Mtype,

			
			_.AuditUid

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Mail,

			
			this._SendTime,

			
			this._Sid,

			
			this._Mtype,

			
			this._AuditUid

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Mail = DataUtils.ConvertValue<string>(reader["Mail"]);
						this._SendTime = DataUtils.ConvertValue<DateTime?>(reader["SendTime"]);
						this._Sid = DataUtils.ConvertValue<int?>(reader["Sid"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
						this._AuditUid = DataUtils.ConvertValue<int?>(reader["AuditUid"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Mail = DataUtils.ConvertValue<string>(row["Mail"]);
					this._SendTime = DataUtils.ConvertValue<DateTime?>(row["SendTime"]);
					this._Sid = DataUtils.ConvertValue<int?>(row["Sid"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					this._AuditUid = DataUtils.ConvertValue<int?>(row["AuditUid"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_MailSendLogs");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_MailSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mail = new Field("Mail","HR_MailSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SendTime = new Field("SendTime","HR_MailSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sid = new Field("Sid","HR_MailSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","HR_MailSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AuditUid = new Field("AuditUid","HR_MailSendLogs","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_MesSendLogs
    /// <summary>
	/// 实体类HR_MesSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_MesSendLogs : Entity 
	{
	 /// <summary>
	/// 实体类HR_MesSendLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_MesSendLogs():base("HR_MesSendLogs") {}

		#region Model

		
		private int _ID;
		
		private string _Title;
		
		private string _Message;
		
		private int? _Uid;
		
		private int? _Sid;
		
		private int? _Mtype;
		
		private DateTime? _SendTime;
		
		private string _FUrl;
		
		private bool? _IsRead;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Title
		{
			get{ return _Title; }
			set
			{
				this.OnPropertyValueChange(_.Title,_Title,value);
				this._Title=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Message
		{
			get{ return _Message; }
			set
			{
				this.OnPropertyValueChange(_.Message,_Message,value);
				this._Message=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Uid
		{
			get{ return _Uid; }
			set
			{
				this.OnPropertyValueChange(_.Uid,_Uid,value);
				this._Uid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Sid
		{
			get{ return _Sid; }
			set
			{
				this.OnPropertyValueChange(_.Sid,_Sid,value);
				this._Sid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? SendTime
		{
			get{ return _SendTime; }
			set
			{
				this.OnPropertyValueChange(_.SendTime,_SendTime,value);
				this._SendTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string FUrl
		{
			get{ return _FUrl; }
			set
			{
				this.OnPropertyValueChange(_.FUrl,_FUrl,value);
				this._FUrl=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsRead
		{
			get{ return _IsRead; }
			set
			{
				this.OnPropertyValueChange(_.IsRead,_IsRead,value);
				this._IsRead=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Title,

			
			_.Message,

			
			_.Uid,

			
			_.Sid,

			
			_.Mtype,

			
			_.SendTime,

			
			_.FUrl,

			
			_.IsRead

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Title,

			
			this._Message,

			
			this._Uid,

			
			this._Sid,

			
			this._Mtype,

			
			this._SendTime,

			
			this._FUrl,

			
			this._IsRead

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Title = DataUtils.ConvertValue<string>(reader["Title"]);
						this._Message = DataUtils.ConvertValue<string>(reader["Message"]);
						this._Uid = DataUtils.ConvertValue<int?>(reader["Uid"]);
						this._Sid = DataUtils.ConvertValue<int?>(reader["Sid"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
						this._SendTime = DataUtils.ConvertValue<DateTime?>(reader["SendTime"]);
						this._FUrl = DataUtils.ConvertValue<string>(reader["FUrl"]);
						this._IsRead = DataUtils.ConvertValue<bool?>(reader["IsRead"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Title = DataUtils.ConvertValue<string>(row["Title"]);
					this._Message = DataUtils.ConvertValue<string>(row["Message"]);
					this._Uid = DataUtils.ConvertValue<int?>(row["Uid"]);
					this._Sid = DataUtils.ConvertValue<int?>(row["Sid"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					this._SendTime = DataUtils.ConvertValue<DateTime?>(row["SendTime"]);
					this._FUrl = DataUtils.ConvertValue<string>(row["FUrl"]);
					this._IsRead = DataUtils.ConvertValue<bool?>(row["IsRead"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_MesSendLogs");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Title = new Field("Title","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Message = new Field("Message","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Uid = new Field("Uid","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sid = new Field("Sid","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SendTime = new Field("SendTime","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FUrl = new Field("FUrl","HR_MesSendLogs","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsRead = new Field("IsRead","HR_MesSendLogs","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_MSALY
    /// <summary>
	/// 实体类HR_MSALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_MSALY : Entity 
	{
	 /// <summary>
	/// 实体类HR_MSALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_MSALY():base("HR_MSALY") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private decimal? _YMONTH;
		
		private decimal? _BSALRY;
		
		private decimal? _SSALRY;
		
		private decimal? _YSALRY;
		
		private decimal? _JSALARY;
		
		private decimal? _CSALRY;
		
		private decimal? _ASALRY;
		
		private decimal? _PSALRY;
		
		private decimal? _LSALRY;
		
		private decimal? _OSALRY;
		
		private decimal? _ABSENC;
		
		private decimal? _PERTAX;
		
		private decimal? _PERSAFE;
		
		private decimal? _TOSALY;
		
		private int? _YEAR;
		
		private int? _MONTH;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 年月
		/// </summary>
		public decimal? YMONTH
		{
			get{ return _YMONTH; }
			set
			{
				this.OnPropertyValueChange(_.YMONTH,_YMONTH,value);
				this._YMONTH=value;
			}
		}

		
		/// <summary>
		/// 基本工资
		/// </summary>
		public decimal? BSALRY
		{
			get{ return _BSALRY; }
			set
			{
				this.OnPropertyValueChange(_.BSALRY,_BSALRY,value);
				this._BSALRY=value;
			}
		}

		
		/// <summary>
		/// 岗位工资
		/// </summary>
		public decimal? SSALRY
		{
			get{ return _SSALRY; }
			set
			{
				this.OnPropertyValueChange(_.SSALRY,_SSALRY,value);
				this._SSALRY=value;
			}
		}

		
		/// <summary>
		/// 工龄工资
		/// </summary>
		public decimal? YSALRY
		{
			get{ return _YSALRY; }
			set
			{
				this.OnPropertyValueChange(_.YSALRY,_YSALRY,value);
				this._YSALRY=value;
			}
		}

		
		/// <summary>
		/// 绩效工资
		/// </summary>
		public decimal? JSALARY
		{
			get{ return _JSALARY; }
			set
			{
				this.OnPropertyValueChange(_.JSALARY,_JSALARY,value);
				this._JSALARY=value;
			}
		}

		
		/// <summary>
		/// 通讯费
		/// </summary>
		public decimal? CSALRY
		{
			get{ return _CSALRY; }
			set
			{
				this.OnPropertyValueChange(_.CSALRY,_CSALRY,value);
				this._CSALRY=value;
			}
		}

		
		/// <summary>
		/// 过节费
		/// </summary>
		public decimal? ASALRY
		{
			get{ return _ASALRY; }
			set
			{
				this.OnPropertyValueChange(_.ASALRY,_ASALRY,value);
				this._ASALRY=value;
			}
		}

		
		/// <summary>
		/// 奖金
		/// </summary>
		public decimal? PSALRY
		{
			get{ return _PSALRY; }
			set
			{
				this.OnPropertyValueChange(_.PSALRY,_PSALRY,value);
				this._PSALRY=value;
			}
		}

		
		/// <summary>
		/// 午餐补贴
		/// </summary>
		public decimal? LSALRY
		{
			get{ return _LSALRY; }
			set
			{
				this.OnPropertyValueChange(_.LSALRY,_LSALRY,value);
				this._LSALRY=value;
			}
		}

		
		/// <summary>
		/// 其它补贴
		/// </summary>
		public decimal? OSALRY
		{
			get{ return _OSALRY; }
			set
			{
				this.OnPropertyValueChange(_.OSALRY,_OSALRY,value);
				this._OSALRY=value;
			}
		}

		
		/// <summary>
		/// 缺勤应扣
		/// </summary>
		public decimal? ABSENC
		{
			get{ return _ABSENC; }
			set
			{
				this.OnPropertyValueChange(_.ABSENC,_ABSENC,value);
				this._ABSENC=value;
			}
		}

		
		/// <summary>
		/// 个人所得税
		/// </summary>
		public decimal? PERTAX
		{
			get{ return _PERTAX; }
			set
			{
				this.OnPropertyValueChange(_.PERTAX,_PERTAX,value);
				this._PERTAX=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PERSAFE
		{
			get{ return _PERSAFE; }
			set
			{
				this.OnPropertyValueChange(_.PERSAFE,_PERSAFE,value);
				this._PERSAFE=value;
			}
		}

		
		/// <summary>
		/// 工资总额
		/// </summary>
		public decimal? TOSALY
		{
			get{ return _TOSALY; }
			set
			{
				this.OnPropertyValueChange(_.TOSALY,_TOSALY,value);
				this._TOSALY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? YEAR
		{
			get{ return _YEAR; }
			set
			{
				this.OnPropertyValueChange(_.YEAR,_YEAR,value);
				this._YEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MONTH
		{
			get{ return _MONTH; }
			set
			{
				this.OnPropertyValueChange(_.MONTH,_MONTH,value);
				this._MONTH=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.YMONTH,

			
			_.BSALRY,

			
			_.SSALRY,

			
			_.YSALRY,

			
			_.JSALARY,

			
			_.CSALRY,

			
			_.ASALRY,

			
			_.PSALRY,

			
			_.LSALRY,

			
			_.OSALRY,

			
			_.ABSENC,

			
			_.PERTAX,

			
			_.PERSAFE,

			
			_.TOSALY,

			
			_.YEAR,

			
			_.MONTH

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._YMONTH,

			
			this._BSALRY,

			
			this._SSALRY,

			
			this._YSALRY,

			
			this._JSALARY,

			
			this._CSALRY,

			
			this._ASALRY,

			
			this._PSALRY,

			
			this._LSALRY,

			
			this._OSALRY,

			
			this._ABSENC,

			
			this._PERTAX,

			
			this._PERSAFE,

			
			this._TOSALY,

			
			this._YEAR,

			
			this._MONTH

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._YMONTH = DataUtils.ConvertValue<decimal?>(reader["YMONTH"]);
						this._BSALRY = DataUtils.ConvertValue<decimal?>(reader["BSALRY"]);
						this._SSALRY = DataUtils.ConvertValue<decimal?>(reader["SSALRY"]);
						this._YSALRY = DataUtils.ConvertValue<decimal?>(reader["YSALRY"]);
						this._JSALARY = DataUtils.ConvertValue<decimal?>(reader["JSALARY"]);
						this._CSALRY = DataUtils.ConvertValue<decimal?>(reader["CSALRY"]);
						this._ASALRY = DataUtils.ConvertValue<decimal?>(reader["ASALRY"]);
						this._PSALRY = DataUtils.ConvertValue<decimal?>(reader["PSALRY"]);
						this._LSALRY = DataUtils.ConvertValue<decimal?>(reader["LSALRY"]);
						this._OSALRY = DataUtils.ConvertValue<decimal?>(reader["OSALRY"]);
						this._ABSENC = DataUtils.ConvertValue<decimal?>(reader["ABSENC"]);
						this._PERTAX = DataUtils.ConvertValue<decimal?>(reader["PERTAX"]);
						this._PERSAFE = DataUtils.ConvertValue<decimal?>(reader["PERSAFE"]);
						this._TOSALY = DataUtils.ConvertValue<decimal?>(reader["TOSALY"]);
						this._YEAR = DataUtils.ConvertValue<int?>(reader["YEAR"]);
						this._MONTH = DataUtils.ConvertValue<int?>(reader["MONTH"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._YMONTH = DataUtils.ConvertValue<decimal?>(row["YMONTH"]);
					this._BSALRY = DataUtils.ConvertValue<decimal?>(row["BSALRY"]);
					this._SSALRY = DataUtils.ConvertValue<decimal?>(row["SSALRY"]);
					this._YSALRY = DataUtils.ConvertValue<decimal?>(row["YSALRY"]);
					this._JSALARY = DataUtils.ConvertValue<decimal?>(row["JSALARY"]);
					this._CSALRY = DataUtils.ConvertValue<decimal?>(row["CSALRY"]);
					this._ASALRY = DataUtils.ConvertValue<decimal?>(row["ASALRY"]);
					this._PSALRY = DataUtils.ConvertValue<decimal?>(row["PSALRY"]);
					this._LSALRY = DataUtils.ConvertValue<decimal?>(row["LSALRY"]);
					this._OSALRY = DataUtils.ConvertValue<decimal?>(row["OSALRY"]);
					this._ABSENC = DataUtils.ConvertValue<decimal?>(row["ABSENC"]);
					this._PERTAX = DataUtils.ConvertValue<decimal?>(row["PERTAX"]);
					this._PERSAFE = DataUtils.ConvertValue<decimal?>(row["PERSAFE"]);
					this._TOSALY = DataUtils.ConvertValue<decimal?>(row["TOSALY"]);
					this._YEAR = DataUtils.ConvertValue<int?>(row["YEAR"]);
					this._MONTH = DataUtils.ConvertValue<int?>(row["MONTH"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_MSALY");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_MSALY","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_MSALY","员工编号");
					/// <summary>
			/// 年月
			/// </summary>
			public readonly static Field YMONTH = new Field("YMONTH","HR_MSALY","年月");
					/// <summary>
			/// 基本工资
			/// </summary>
			public readonly static Field BSALRY = new Field("BSALRY","HR_MSALY","基本工资");
					/// <summary>
			/// 岗位工资
			/// </summary>
			public readonly static Field SSALRY = new Field("SSALRY","HR_MSALY","岗位工资");
					/// <summary>
			/// 工龄工资
			/// </summary>
			public readonly static Field YSALRY = new Field("YSALRY","HR_MSALY","工龄工资");
					/// <summary>
			/// 绩效工资
			/// </summary>
			public readonly static Field JSALARY = new Field("JSALARY","HR_MSALY","绩效工资");
					/// <summary>
			/// 通讯费
			/// </summary>
			public readonly static Field CSALRY = new Field("CSALRY","HR_MSALY","通讯费");
					/// <summary>
			/// 过节费
			/// </summary>
			public readonly static Field ASALRY = new Field("ASALRY","HR_MSALY","过节费");
					/// <summary>
			/// 奖金
			/// </summary>
			public readonly static Field PSALRY = new Field("PSALRY","HR_MSALY","奖金");
					/// <summary>
			/// 午餐补贴
			/// </summary>
			public readonly static Field LSALRY = new Field("LSALRY","HR_MSALY","午餐补贴");
					/// <summary>
			/// 其它补贴
			/// </summary>
			public readonly static Field OSALRY = new Field("OSALRY","HR_MSALY","其它补贴");
					/// <summary>
			/// 缺勤应扣
			/// </summary>
			public readonly static Field ABSENC = new Field("ABSENC","HR_MSALY","缺勤应扣");
					/// <summary>
			/// 个人所得税
			/// </summary>
			public readonly static Field PERTAX = new Field("PERTAX","HR_MSALY","个人所得税");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PERSAFE = new Field("PERSAFE","HR_MSALY","");
					/// <summary>
			/// 工资总额
			/// </summary>
			public readonly static Field TOSALY = new Field("TOSALY","HR_MSALY","工资总额");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field YEAR = new Field("YEAR","HR_MSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MONTH = new Field("MONTH","HR_MSALY","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_REQEMP
    /// <summary>
	/// 实体类HR_REQEMP 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_REQEMP : Entity 
	{
	 /// <summary>
	/// 实体类HR_REQEMP 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_REQEMP():base("HR_REQEMP") {}

		#region Model

		
		private int _ID;
		
		private string _STTYPE;
		
		private int? _EMPQTY;
		
		private string _OTHREQ;
		
		private int? _STATUS;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _Auditer;
		
		private string _AuditUid;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 职位类型
		/// </summary>
		public string STTYPE
		{
			get{ return _STTYPE; }
			set
			{
				this.OnPropertyValueChange(_.STTYPE,_STTYPE,value);
				this._STTYPE=value;
			}
		}

		
		/// <summary>
		/// 人数
		/// </summary>
		public int? EMPQTY
		{
			get{ return _EMPQTY; }
			set
			{
				this.OnPropertyValueChange(_.EMPQTY,_EMPQTY,value);
				this._EMPQTY=value;
			}
		}

		
		/// <summary>
		/// 其它要求
		/// </summary>
		public string OTHREQ
		{
			get{ return _OTHREQ; }
			set
			{
				this.OnPropertyValueChange(_.OTHREQ,_OTHREQ,value);
				this._OTHREQ=value;
			}
		}

		
		/// <summary>
		/// 审批状态
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Auditer
		{
			get{ return _Auditer; }
			set
			{
				this.OnPropertyValueChange(_.Auditer,_Auditer,value);
				this._Auditer=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string AuditUid
		{
			get{ return _AuditUid; }
			set
			{
				this.OnPropertyValueChange(_.AuditUid,_AuditUid,value);
				this._AuditUid=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.STTYPE,

			
			_.EMPQTY,

			
			_.OTHREQ,

			
			_.STATUS,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.Auditer,

			
			_.AuditUid

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._STTYPE,

			
			this._EMPQTY,

			
			this._OTHREQ,

			
			this._STATUS,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._Auditer,

			
			this._AuditUid

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._STTYPE = DataUtils.ConvertValue<string>(reader["STTYPE"]);
						this._EMPQTY = DataUtils.ConvertValue<int?>(reader["EMPQTY"]);
						this._OTHREQ = DataUtils.ConvertValue<string>(reader["OTHREQ"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Auditer = DataUtils.ConvertValue<string>(reader["Auditer"]);
						this._AuditUid = DataUtils.ConvertValue<string>(reader["AuditUid"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._STTYPE = DataUtils.ConvertValue<string>(row["STTYPE"]);
					this._EMPQTY = DataUtils.ConvertValue<int?>(row["EMPQTY"]);
					this._OTHREQ = DataUtils.ConvertValue<string>(row["OTHREQ"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Auditer = DataUtils.ConvertValue<string>(row["Auditer"]);
					this._AuditUid = DataUtils.ConvertValue<string>(row["AuditUid"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_REQEMP");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_REQEMP","唯一标识");
					/// <summary>
			/// 职位类型
			/// </summary>
			public readonly static Field STTYPE = new Field("STTYPE","HR_REQEMP","职位类型");
					/// <summary>
			/// 人数
			/// </summary>
			public readonly static Field EMPQTY = new Field("EMPQTY","HR_REQEMP","人数");
					/// <summary>
			/// 其它要求
			/// </summary>
			public readonly static Field OTHREQ = new Field("OTHREQ","HR_REQEMP","其它要求");
					/// <summary>
			/// 审批状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","HR_REQEMP","审批状态");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","HR_REQEMP","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","HR_REQEMP","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","HR_REQEMP","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Auditer = new Field("Auditer","HR_REQEMP","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AuditUid = new Field("AuditUid","HR_REQEMP","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_SALRY
    /// <summary>
	/// 实体类HR_SALRY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_SALRY : Entity 
	{
	 /// <summary>
	/// 实体类HR_SALRY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_SALRY():base("HR_SALRY") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private decimal? _BSALRY;
		
		private decimal? _SSALRY;
		
		private decimal? _YSALRY;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 基本工资
		/// </summary>
		public decimal? BSALRY
		{
			get{ return _BSALRY; }
			set
			{
				this.OnPropertyValueChange(_.BSALRY,_BSALRY,value);
				this._BSALRY=value;
			}
		}

		
		/// <summary>
		/// 岗位工资
		/// </summary>
		public decimal? SSALRY
		{
			get{ return _SSALRY; }
			set
			{
				this.OnPropertyValueChange(_.SSALRY,_SSALRY,value);
				this._SSALRY=value;
			}
		}

		
		/// <summary>
		/// 工龄工资
		/// </summary>
		public decimal? YSALRY
		{
			get{ return _YSALRY; }
			set
			{
				this.OnPropertyValueChange(_.YSALRY,_YSALRY,value);
				this._YSALRY=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.BSALRY,

			
			_.SSALRY,

			
			_.YSALRY

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._BSALRY,

			
			this._SSALRY,

			
			this._YSALRY

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._BSALRY = DataUtils.ConvertValue<decimal?>(reader["BSALRY"]);
						this._SSALRY = DataUtils.ConvertValue<decimal?>(reader["SSALRY"]);
						this._YSALRY = DataUtils.ConvertValue<decimal?>(reader["YSALRY"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._BSALRY = DataUtils.ConvertValue<decimal?>(row["BSALRY"]);
					this._SSALRY = DataUtils.ConvertValue<decimal?>(row["SSALRY"]);
					this._YSALRY = DataUtils.ConvertValue<decimal?>(row["YSALRY"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_SALRY");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_SALRY","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_SALRY","员工编号");
					/// <summary>
			/// 基本工资
			/// </summary>
			public readonly static Field BSALRY = new Field("BSALRY","HR_SALRY","基本工资");
					/// <summary>
			/// 岗位工资
			/// </summary>
			public readonly static Field SSALRY = new Field("SSALRY","HR_SALRY","岗位工资");
					/// <summary>
			/// 工龄工资
			/// </summary>
			public readonly static Field YSALRY = new Field("YSALRY","HR_SALRY","工龄工资");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_TVCATN
    /// <summary>
	/// 实体类HR_TVCATN 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_TVCATN : Entity 
	{
	 /// <summary>
	/// 实体类HR_TVCATN 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_TVCATN():base("HR_TVCATN") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private int? _VTYEAR;
		
		private DateTime? _VAYEAR;
		
		private DateTime? _TOYEAR;
		
		private decimal? _TOLQTY;
		
		private decimal? _COMQTY;
		
		private decimal? _LEFQTY;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 年份
		/// </summary>
		public int? VTYEAR
		{
			get{ return _VTYEAR; }
			set
			{
				this.OnPropertyValueChange(_.VTYEAR,_VTYEAR,value);
				this._VTYEAR=value;
			}
		}

		
		/// <summary>
		/// 年份周期起始年月日
		/// </summary>
		public DateTime? VAYEAR
		{
			get{ return _VAYEAR; }
			set
			{
				this.OnPropertyValueChange(_.VAYEAR,_VAYEAR,value);
				this._VAYEAR=value;
			}
		}

		
		/// <summary>
		/// 年份周期终止年月日
		/// </summary>
		public DateTime? TOYEAR
		{
			get{ return _TOYEAR; }
			set
			{
				this.OnPropertyValueChange(_.TOYEAR,_TOYEAR,value);
				this._TOYEAR=value;
			}
		}

		
		/// <summary>
		/// 年假总天数
		/// </summary>
		public decimal? TOLQTY
		{
			get{ return _TOLQTY; }
			set
			{
				this.OnPropertyValueChange(_.TOLQTY,_TOLQTY,value);
				this._TOLQTY=value;
			}
		}

		
		/// <summary>
		/// 已休年假
		/// </summary>
		public decimal? COMQTY
		{
			get{ return _COMQTY; }
			set
			{
				this.OnPropertyValueChange(_.COMQTY,_COMQTY,value);
				this._COMQTY=value;
			}
		}

		
		/// <summary>
		/// 剩假天数
		/// </summary>
		public decimal? LEFQTY
		{
			get{ return _LEFQTY; }
			set
			{
				this.OnPropertyValueChange(_.LEFQTY,_LEFQTY,value);
				this._LEFQTY=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.VTYEAR,

			
			_.VAYEAR,

			
			_.TOYEAR,

			
			_.TOLQTY,

			
			_.COMQTY,

			
			_.LEFQTY

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._VTYEAR,

			
			this._VAYEAR,

			
			this._TOYEAR,

			
			this._TOLQTY,

			
			this._COMQTY,

			
			this._LEFQTY

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._VTYEAR = DataUtils.ConvertValue<int?>(reader["VTYEAR"]);
						this._VAYEAR = DataUtils.ConvertValue<DateTime?>(reader["VAYEAR"]);
						this._TOYEAR = DataUtils.ConvertValue<DateTime?>(reader["TOYEAR"]);
						this._TOLQTY = DataUtils.ConvertValue<decimal?>(reader["TOLQTY"]);
						this._COMQTY = DataUtils.ConvertValue<decimal?>(reader["COMQTY"]);
						this._LEFQTY = DataUtils.ConvertValue<decimal?>(reader["LEFQTY"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._VTYEAR = DataUtils.ConvertValue<int?>(row["VTYEAR"]);
					this._VAYEAR = DataUtils.ConvertValue<DateTime?>(row["VAYEAR"]);
					this._TOYEAR = DataUtils.ConvertValue<DateTime?>(row["TOYEAR"]);
					this._TOLQTY = DataUtils.ConvertValue<decimal?>(row["TOLQTY"]);
					this._COMQTY = DataUtils.ConvertValue<decimal?>(row["COMQTY"]);
					this._LEFQTY = DataUtils.ConvertValue<decimal?>(row["LEFQTY"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_TVCATN");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_TVCATN","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_TVCATN","员工编号");
					/// <summary>
			/// 年份
			/// </summary>
			public readonly static Field VTYEAR = new Field("VTYEAR","HR_TVCATN","年份");
					/// <summary>
			/// 年份周期起始年月日
			/// </summary>
			public readonly static Field VAYEAR = new Field("VAYEAR","HR_TVCATN","年份周期起始年月日");
					/// <summary>
			/// 年份周期终止年月日
			/// </summary>
			public readonly static Field TOYEAR = new Field("TOYEAR","HR_TVCATN","年份周期终止年月日");
					/// <summary>
			/// 年假总天数
			/// </summary>
			public readonly static Field TOLQTY = new Field("TOLQTY","HR_TVCATN","年假总天数");
					/// <summary>
			/// 已休年假
			/// </summary>
			public readonly static Field COMQTY = new Field("COMQTY","HR_TVCATN","已休年假");
					/// <summary>
			/// 剩假天数
			/// </summary>
			public readonly static Field LEFQTY = new Field("LEFQTY","HR_TVCATN","剩假天数");
					}
		#endregion


	}
	#endregion
	
	#region 实体类HR_VCATON
    /// <summary>
	/// 实体类HR_VCATON 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class HR_VCATON : Entity 
	{
	 /// <summary>
	/// 实体类HR_VCATON 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public HR_VCATON():base("HR_VCATON") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private string _EMNAME;
		
		private string _VATYPE;
		
		private decimal? _REQQTY;
		
		private string _DepartMent;
		
		private DateTime? _StartTime;
		
		private DateTime? _EndTime;
		
		private DateTime? _AddTime;
		
		private string _REASON;
		
		private int? _STATUS;
		
		private bool? _IsUserYear;
		
		private string _AuditUserNo;
		
		private string _AuditName;
		
		private int? _AddID;
		
		private string _Adder;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 员工编号
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 员工姓名
		/// </summary>
		public string EMNAME
		{
			get{ return _EMNAME; }
			set
			{
				this.OnPropertyValueChange(_.EMNAME,_EMNAME,value);
				this._EMNAME=value;
			}
		}

		
		/// <summary>
		/// 请假类型
		/// </summary>
		public string VATYPE
		{
			get{ return _VATYPE; }
			set
			{
				this.OnPropertyValueChange(_.VATYPE,_VATYPE,value);
				this._VATYPE=value;
			}
		}

		
		/// <summary>
		/// 请假天数
		/// </summary>
		public decimal? REQQTY
		{
			get{ return _REQQTY; }
			set
			{
				this.OnPropertyValueChange(_.REQQTY,_REQQTY,value);
				this._REQQTY=value;
			}
		}

		
		/// <summary>
		/// 部门
		/// </summary>
		public string DepartMent
		{
			get{ return _DepartMent; }
			set
			{
				this.OnPropertyValueChange(_.DepartMent,_DepartMent,value);
				this._DepartMent=value;
			}
		}

		
		/// <summary>
		/// 开始时间
		/// </summary>
		public DateTime? StartTime
		{
			get{ return _StartTime; }
			set
			{
				this.OnPropertyValueChange(_.StartTime,_StartTime,value);
				this._StartTime=value;
			}
		}

		
		/// <summary>
		/// 结束时间
		/// </summary>
		public DateTime? EndTime
		{
			get{ return _EndTime; }
			set
			{
				this.OnPropertyValueChange(_.EndTime,_EndTime,value);
				this._EndTime=value;
			}
		}

		
		/// <summary>
		/// 申请时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 请假原因
		/// </summary>
		public string REASON
		{
			get{ return _REASON; }
			set
			{
				this.OnPropertyValueChange(_.REASON,_REASON,value);
				this._REASON=value;
			}
		}

		
		/// <summary>
		/// 审批状态
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 是否使用年假
		/// </summary>
		public bool? IsUserYear
		{
			get{ return _IsUserYear; }
			set
			{
				this.OnPropertyValueChange(_.IsUserYear,_IsUserYear,value);
				this._IsUserYear=value;
			}
		}

		
		/// <summary>
		/// 审核人用户编号
		/// </summary>
		public string AuditUserNo
		{
			get{ return _AuditUserNo; }
			set
			{
				this.OnPropertyValueChange(_.AuditUserNo,_AuditUserNo,value);
				this._AuditUserNo=value;
			}
		}

		
		/// <summary>
		/// 审核人姓名
		/// </summary>
		public string AuditName
		{
			get{ return _AuditName; }
			set
			{
				this.OnPropertyValueChange(_.AuditName,_AuditName,value);
				this._AuditName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.EMNAME,

			
			_.VATYPE,

			
			_.REQQTY,

			
			_.DepartMent,

			
			_.StartTime,

			
			_.EndTime,

			
			_.AddTime,

			
			_.REASON,

			
			_.STATUS,

			
			_.IsUserYear,

			
			_.AuditUserNo,

			
			_.AuditName,

			
			_.AddID,

			
			_.Adder

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._EMNAME,

			
			this._VATYPE,

			
			this._REQQTY,

			
			this._DepartMent,

			
			this._StartTime,

			
			this._EndTime,

			
			this._AddTime,

			
			this._REASON,

			
			this._STATUS,

			
			this._IsUserYear,

			
			this._AuditUserNo,

			
			this._AuditName,

			
			this._AddID,

			
			this._Adder

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._EMNAME = DataUtils.ConvertValue<string>(reader["EMNAME"]);
						this._VATYPE = DataUtils.ConvertValue<string>(reader["VATYPE"]);
						this._REQQTY = DataUtils.ConvertValue<decimal?>(reader["REQQTY"]);
						this._DepartMent = DataUtils.ConvertValue<string>(reader["DepartMent"]);
						this._StartTime = DataUtils.ConvertValue<DateTime?>(reader["StartTime"]);
						this._EndTime = DataUtils.ConvertValue<DateTime?>(reader["EndTime"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._REASON = DataUtils.ConvertValue<string>(reader["REASON"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._IsUserYear = DataUtils.ConvertValue<bool?>(reader["IsUserYear"]);
						this._AuditUserNo = DataUtils.ConvertValue<string>(reader["AuditUserNo"]);
						this._AuditName = DataUtils.ConvertValue<string>(reader["AuditName"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._EMNAME = DataUtils.ConvertValue<string>(row["EMNAME"]);
					this._VATYPE = DataUtils.ConvertValue<string>(row["VATYPE"]);
					this._REQQTY = DataUtils.ConvertValue<decimal?>(row["REQQTY"]);
					this._DepartMent = DataUtils.ConvertValue<string>(row["DepartMent"]);
					this._StartTime = DataUtils.ConvertValue<DateTime?>(row["StartTime"]);
					this._EndTime = DataUtils.ConvertValue<DateTime?>(row["EndTime"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._REASON = DataUtils.ConvertValue<string>(row["REASON"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._IsUserYear = DataUtils.ConvertValue<bool?>(row["IsUserYear"]);
					this._AuditUserNo = DataUtils.ConvertValue<string>(row["AuditUserNo"]);
					this._AuditName = DataUtils.ConvertValue<string>(row["AuditName"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","HR_VCATON");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","HR_VCATON","唯一标识");
					/// <summary>
			/// 员工编号
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","HR_VCATON","员工编号");
					/// <summary>
			/// 员工姓名
			/// </summary>
			public readonly static Field EMNAME = new Field("EMNAME","HR_VCATON","员工姓名");
					/// <summary>
			/// 请假类型
			/// </summary>
			public readonly static Field VATYPE = new Field("VATYPE","HR_VCATON","请假类型");
					/// <summary>
			/// 请假天数
			/// </summary>
			public readonly static Field REQQTY = new Field("REQQTY","HR_VCATON","请假天数");
					/// <summary>
			/// 部门
			/// </summary>
			public readonly static Field DepartMent = new Field("DepartMent","HR_VCATON","部门");
					/// <summary>
			/// 开始时间
			/// </summary>
			public readonly static Field StartTime = new Field("StartTime","HR_VCATON","开始时间");
					/// <summary>
			/// 结束时间
			/// </summary>
			public readonly static Field EndTime = new Field("EndTime","HR_VCATON","结束时间");
					/// <summary>
			/// 申请时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","HR_VCATON","申请时间");
					/// <summary>
			/// 请假原因
			/// </summary>
			public readonly static Field REASON = new Field("REASON","HR_VCATON","请假原因");
					/// <summary>
			/// 审批状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","HR_VCATON","审批状态");
					/// <summary>
			/// 是否使用年假
			/// </summary>
			public readonly static Field IsUserYear = new Field("IsUserYear","HR_VCATON","是否使用年假");
					/// <summary>
			/// 审核人用户编号
			/// </summary>
			public readonly static Field AuditUserNo = new Field("AuditUserNo","HR_VCATON","审核人用户编号");
					/// <summary>
			/// 审核人姓名
			/// </summary>
			public readonly static Field AuditName = new Field("AuditName","HR_VCATON","审核人姓名");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","HR_VCATON","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","HR_VCATON","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类OA_Department
    /// <summary>
	/// 实体类OA_Department 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class OA_Department : Entity 
	{
	 /// <summary>
	/// 实体类OA_Department 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public OA_Department():base("OA_Department") {}

		#region Model

		
		private int _DepID;
		
		private string _DepName;
		
		private int? _TopID;
		
		private string _DepPath;
		
		private int? _OrderID;
		
		/// <summary>
		/// 部门ID
		/// </summary>
		public int DepID
		{
			get{ return _DepID; }
			set
			{
				this.OnPropertyValueChange(_.DepID,_DepID,value);
				this._DepID=value;
			}
		}

		
		/// <summary>
		/// 部门名称
		/// </summary>
		public string DepName
		{
			get{ return _DepName; }
			set
			{
				this.OnPropertyValueChange(_.DepName,_DepName,value);
				this._DepName=value;
			}
		}

		
		/// <summary>
		/// 上级ID
		/// </summary>
		public int? TopID
		{
			get{ return _TopID; }
			set
			{
				this.OnPropertyValueChange(_.TopID,_TopID,value);
				this._TopID=value;
			}
		}

		
		/// <summary>
		/// 部门列表目录
		/// </summary>
		public string DepPath
		{
			get{ return _DepPath; }
			set
			{
				this.OnPropertyValueChange(_.DepPath,_DepPath,value);
				this._DepPath=value;
			}
		}

		
		/// <summary>
		/// 排序ID
		/// </summary>
		public int? OrderID
		{
			get{ return _OrderID; }
			set
			{
				this.OnPropertyValueChange(_.OrderID,_OrderID,value);
				this._OrderID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.DepID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.DepID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.DepID,

			
			_.DepName,

			
			_.TopID,

			
			_.DepPath,

			
			_.OrderID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._DepID,

			
			this._DepName,

			
			this._TopID,

			
			this._DepPath,

			
			this._OrderID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._DepID = DataUtils.ConvertValue<int>(reader["DepID"]);
						this._DepName = DataUtils.ConvertValue<string>(reader["DepName"]);
						this._TopID = DataUtils.ConvertValue<int?>(reader["TopID"]);
						this._DepPath = DataUtils.ConvertValue<string>(reader["DepPath"]);
						this._OrderID = DataUtils.ConvertValue<int?>(reader["OrderID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._DepID = DataUtils.ConvertValue<int>(row["DepID"]);
					this._DepName = DataUtils.ConvertValue<string>(row["DepName"]);
					this._TopID = DataUtils.ConvertValue<int?>(row["TopID"]);
					this._DepPath = DataUtils.ConvertValue<string>(row["DepPath"]);
					this._OrderID = DataUtils.ConvertValue<int?>(row["OrderID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","OA_Department");
				/// <summary>
			/// 部门ID
			/// </summary>
			public readonly static Field DepID = new Field("DepID","OA_Department","部门ID");
					/// <summary>
			/// 部门名称
			/// </summary>
			public readonly static Field DepName = new Field("DepName","OA_Department","部门名称");
					/// <summary>
			/// 上级ID
			/// </summary>
			public readonly static Field TopID = new Field("TopID","OA_Department","上级ID");
					/// <summary>
			/// 部门列表目录
			/// </summary>
			public readonly static Field DepPath = new Field("DepPath","OA_Department","部门列表目录");
					/// <summary>
			/// 排序ID
			/// </summary>
			public readonly static Field OrderID = new Field("OrderID","OA_Department","排序ID");
					}
		#endregion


	}
	#endregion
	
	#region 实体类OA_Jobs
    /// <summary>
	/// 实体类OA_Jobs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class OA_Jobs : Entity 
	{
	 /// <summary>
	/// 实体类OA_Jobs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public OA_Jobs():base("OA_Jobs") {}

		#region Model

		
		private int _ID;
		
		private string _JobName;
		
		private int? _TopID;
		
		private string _JobPath;
		
		private int? _OrderID;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 职位名称
		/// </summary>
		public string JobName
		{
			get{ return _JobName; }
			set
			{
				this.OnPropertyValueChange(_.JobName,_JobName,value);
				this._JobName=value;
			}
		}

		
		/// <summary>
		/// 上级目录
		/// </summary>
		public int? TopID
		{
			get{ return _TopID; }
			set
			{
				this.OnPropertyValueChange(_.TopID,_TopID,value);
				this._TopID=value;
			}
		}

		
		/// <summary>
		/// 职位树目录
		/// </summary>
		public string JobPath
		{
			get{ return _JobPath; }
			set
			{
				this.OnPropertyValueChange(_.JobPath,_JobPath,value);
				this._JobPath=value;
			}
		}

		
		/// <summary>
		/// 排序ID
		/// </summary>
		public int? OrderID
		{
			get{ return _OrderID; }
			set
			{
				this.OnPropertyValueChange(_.OrderID,_OrderID,value);
				this._OrderID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.JobName,

			
			_.TopID,

			
			_.JobPath,

			
			_.OrderID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._JobName,

			
			this._TopID,

			
			this._JobPath,

			
			this._OrderID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._JobName = DataUtils.ConvertValue<string>(reader["JobName"]);
						this._TopID = DataUtils.ConvertValue<int?>(reader["TopID"]);
						this._JobPath = DataUtils.ConvertValue<string>(reader["JobPath"]);
						this._OrderID = DataUtils.ConvertValue<int?>(reader["OrderID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._JobName = DataUtils.ConvertValue<string>(row["JobName"]);
					this._TopID = DataUtils.ConvertValue<int?>(row["TopID"]);
					this._JobPath = DataUtils.ConvertValue<string>(row["JobPath"]);
					this._OrderID = DataUtils.ConvertValue<int?>(row["OrderID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","OA_Jobs");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","OA_Jobs","唯一标识");
					/// <summary>
			/// 职位名称
			/// </summary>
			public readonly static Field JobName = new Field("JobName","OA_Jobs","职位名称");
					/// <summary>
			/// 上级目录
			/// </summary>
			public readonly static Field TopID = new Field("TopID","OA_Jobs","上级目录");
					/// <summary>
			/// 职位树目录
			/// </summary>
			public readonly static Field JobPath = new Field("JobPath","OA_Jobs","职位树目录");
					/// <summary>
			/// 排序ID
			/// </summary>
			public readonly static Field OrderID = new Field("OrderID","OA_Jobs","排序ID");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_ArtComment
    /// <summary>
	/// 实体类Proj_ArtComment 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_ArtComment : Entity 
	{
	 /// <summary>
	/// 实体类Proj_ArtComment 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_ArtComment():base("Proj_ArtComment") {}

		#region Model

		
		private int _ID;
		
		private int? _ArtID;
		
		private int? _AddUid;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _Comment;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 文章ID
		/// </summary>
		public int? ArtID
		{
			get{ return _ArtID; }
			set
			{
				this.OnPropertyValueChange(_.ArtID,_ArtID,value);
				this._ArtID=value;
			}
		}

		
		/// <summary>
		/// 发表人ID
		/// </summary>
		public int? AddUid
		{
			get{ return _AddUid; }
			set
			{
				this.OnPropertyValueChange(_.AddUid,_AddUid,value);
				this._AddUid=value;
			}
		}

		
		/// <summary>
		/// 发表人姓名
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 发表日期
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 评论内容
		/// </summary>
		public string Comment
		{
			get{ return _Comment; }
			set
			{
				this.OnPropertyValueChange(_.Comment,_Comment,value);
				this._Comment=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.ArtID,

			
			_.AddUid,

			
			_.Adder,

			
			_.AddTime,

			
			_.Comment

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._ArtID,

			
			this._AddUid,

			
			this._Adder,

			
			this._AddTime,

			
			this._Comment

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._ArtID = DataUtils.ConvertValue<int?>(reader["ArtID"]);
						this._AddUid = DataUtils.ConvertValue<int?>(reader["AddUid"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Comment = DataUtils.ConvertValue<string>(reader["Comment"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._ArtID = DataUtils.ConvertValue<int?>(row["ArtID"]);
					this._AddUid = DataUtils.ConvertValue<int?>(row["AddUid"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Comment = DataUtils.ConvertValue<string>(row["Comment"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_ArtComment");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_ArtComment","唯一标识");
					/// <summary>
			/// 文章ID
			/// </summary>
			public readonly static Field ArtID = new Field("ArtID","Proj_ArtComment","文章ID");
					/// <summary>
			/// 发表人ID
			/// </summary>
			public readonly static Field AddUid = new Field("AddUid","Proj_ArtComment","发表人ID");
					/// <summary>
			/// 发表人姓名
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_ArtComment","发表人姓名");
					/// <summary>
			/// 发表日期
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_ArtComment","发表日期");
					/// <summary>
			/// 评论内容
			/// </summary>
			public readonly static Field Comment = new Field("Comment","Proj_ArtComment","评论内容");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Article
    /// <summary>
	/// 实体类Proj_Article 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Article : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Article 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Article():base("Proj_Article") {}

		#region Model

		
		private int _ID;
		
		private string _ACYNUB;
		
		private int? _USERID;
		
		private DateTime? _STDATE;
		
		private DateTime? _EDDATE;
		
		private string _NATURE;
		
		private string _BTOPIC;
		
		private string _COTENT;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _FontColor;
		
		private bool? _FontIsBold;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 公告编号
		/// </summary>
		public string ACYNUB
		{
			get{ return _ACYNUB; }
			set
			{
				this.OnPropertyValueChange(_.ACYNUB,_ACYNUB,value);
				this._ACYNUB=value;
			}
		}

		
		/// <summary>
		/// 发布者账号
		/// </summary>
		public int? USERID
		{
			get{ return _USERID; }
			set
			{
				this.OnPropertyValueChange(_.USERID,_USERID,value);
				this._USERID=value;
			}
		}

		
		/// <summary>
		/// 开始时间
		/// </summary>
		public DateTime? STDATE
		{
			get{ return _STDATE; }
			set
			{
				this.OnPropertyValueChange(_.STDATE,_STDATE,value);
				this._STDATE=value;
			}
		}

		
		/// <summary>
		/// 结束时间
		/// </summary>
		public DateTime? EDDATE
		{
			get{ return _EDDATE; }
			set
			{
				this.OnPropertyValueChange(_.EDDATE,_EDDATE,value);
				this._EDDATE=value;
			}
		}

		
		/// <summary>
		/// 属性
		/// </summary>
		public string NATURE
		{
			get{ return _NATURE; }
			set
			{
				this.OnPropertyValueChange(_.NATURE,_NATURE,value);
				this._NATURE=value;
			}
		}

		
		/// <summary>
		/// 标题
		/// </summary>
		public string BTOPIC
		{
			get{ return _BTOPIC; }
			set
			{
				this.OnPropertyValueChange(_.BTOPIC,_BTOPIC,value);
				this._BTOPIC=value;
			}
		}

		
		/// <summary>
		/// 内容
		/// </summary>
		public string COTENT
		{
			get{ return _COTENT; }
			set
			{
				this.OnPropertyValueChange(_.COTENT,_COTENT,value);
				this._COTENT=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 标题颜色
		/// </summary>
		public string FontColor
		{
			get{ return _FontColor; }
			set
			{
				this.OnPropertyValueChange(_.FontColor,_FontColor,value);
				this._FontColor=value;
			}
		}

		
		/// <summary>
		/// 标题是否加粗
		/// </summary>
		public bool? FontIsBold
		{
			get{ return _FontIsBold; }
			set
			{
				this.OnPropertyValueChange(_.FontIsBold,_FontIsBold,value);
				this._FontIsBold=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.ACYNUB,

			
			_.USERID,

			
			_.STDATE,

			
			_.EDDATE,

			
			_.NATURE,

			
			_.BTOPIC,

			
			_.COTENT,

			
			_.Adder,

			
			_.AddTime,

			
			_.FontColor,

			
			_.FontIsBold

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._ACYNUB,

			
			this._USERID,

			
			this._STDATE,

			
			this._EDDATE,

			
			this._NATURE,

			
			this._BTOPIC,

			
			this._COTENT,

			
			this._Adder,

			
			this._AddTime,

			
			this._FontColor,

			
			this._FontIsBold

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._ACYNUB = DataUtils.ConvertValue<string>(reader["ACYNUB"]);
						this._USERID = DataUtils.ConvertValue<int?>(reader["USERID"]);
						this._STDATE = DataUtils.ConvertValue<DateTime?>(reader["STDATE"]);
						this._EDDATE = DataUtils.ConvertValue<DateTime?>(reader["EDDATE"]);
						this._NATURE = DataUtils.ConvertValue<string>(reader["NATURE"]);
						this._BTOPIC = DataUtils.ConvertValue<string>(reader["BTOPIC"]);
						this._COTENT = DataUtils.ConvertValue<string>(reader["COTENT"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._FontColor = DataUtils.ConvertValue<string>(reader["FontColor"]);
						this._FontIsBold = DataUtils.ConvertValue<bool?>(reader["FontIsBold"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._ACYNUB = DataUtils.ConvertValue<string>(row["ACYNUB"]);
					this._USERID = DataUtils.ConvertValue<int?>(row["USERID"]);
					this._STDATE = DataUtils.ConvertValue<DateTime?>(row["STDATE"]);
					this._EDDATE = DataUtils.ConvertValue<DateTime?>(row["EDDATE"]);
					this._NATURE = DataUtils.ConvertValue<string>(row["NATURE"]);
					this._BTOPIC = DataUtils.ConvertValue<string>(row["BTOPIC"]);
					this._COTENT = DataUtils.ConvertValue<string>(row["COTENT"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._FontColor = DataUtils.ConvertValue<string>(row["FontColor"]);
					this._FontIsBold = DataUtils.ConvertValue<bool?>(row["FontIsBold"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Article");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Article","唯一标识");
					/// <summary>
			/// 公告编号
			/// </summary>
			public readonly static Field ACYNUB = new Field("ACYNUB","Proj_Article","公告编号");
					/// <summary>
			/// 发布者账号
			/// </summary>
			public readonly static Field USERID = new Field("USERID","Proj_Article","发布者账号");
					/// <summary>
			/// 开始时间
			/// </summary>
			public readonly static Field STDATE = new Field("STDATE","Proj_Article","开始时间");
					/// <summary>
			/// 结束时间
			/// </summary>
			public readonly static Field EDDATE = new Field("EDDATE","Proj_Article","结束时间");
					/// <summary>
			/// 属性
			/// </summary>
			public readonly static Field NATURE = new Field("NATURE","Proj_Article","属性");
					/// <summary>
			/// 标题
			/// </summary>
			public readonly static Field BTOPIC = new Field("BTOPIC","Proj_Article","标题");
					/// <summary>
			/// 内容
			/// </summary>
			public readonly static Field COTENT = new Field("COTENT","Proj_Article","内容");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Article","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Article","添加时间");
					/// <summary>
			/// 标题颜色
			/// </summary>
			public readonly static Field FontColor = new Field("FontColor","Proj_Article","标题颜色");
					/// <summary>
			/// 标题是否加粗
			/// </summary>
			public readonly static Field FontIsBold = new Field("FontIsBold","Proj_Article","标题是否加粗");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_ArtReadLogs
    /// <summary>
	/// 实体类Proj_ArtReadLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_ArtReadLogs : Entity 
	{
	 /// <summary>
	/// 实体类Proj_ArtReadLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_ArtReadLogs():base("Proj_ArtReadLogs") {}

		#region Model

		
		private int _ID;
		
		private int? _Uid;
		
		private int? _ArtID;
		
		private int? _Mtype;
		
		private DateTime? _AddTime;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int? Uid
		{
			get{ return _Uid; }
			set
			{
				this.OnPropertyValueChange(_.Uid,_Uid,value);
				this._Uid=value;
			}
		}

		
		/// <summary>
		/// 通知ID
		/// </summary>
		public int? ArtID
		{
			get{ return _ArtID; }
			set
			{
				this.OnPropertyValueChange(_.ArtID,_ArtID,value);
				this._ArtID=value;
			}
		}

		
		/// <summary>
		/// 类型
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		/// <summary>
		/// 阅读时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Uid,

			
			_.ArtID,

			
			_.Mtype,

			
			_.AddTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Uid,

			
			this._ArtID,

			
			this._Mtype,

			
			this._AddTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Uid = DataUtils.ConvertValue<int?>(reader["Uid"]);
						this._ArtID = DataUtils.ConvertValue<int?>(reader["ArtID"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Uid = DataUtils.ConvertValue<int?>(row["Uid"]);
					this._ArtID = DataUtils.ConvertValue<int?>(row["ArtID"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_ArtReadLogs");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_ArtReadLogs","唯一标识");
					/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field Uid = new Field("Uid","Proj_ArtReadLogs","用户ID");
					/// <summary>
			/// 通知ID
			/// </summary>
			public readonly static Field ArtID = new Field("ArtID","Proj_ArtReadLogs","通知ID");
					/// <summary>
			/// 类型
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","Proj_ArtReadLogs","类型");
					/// <summary>
			/// 阅读时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_ArtReadLogs","阅读时间");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Complet
    /// <summary>
	/// 实体类Proj_Complet 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Complet : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Complet 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Complet():base("Proj_Complet") {}

		#region Model

		
		private int _ID;
		
		private string _Proj_No;
		
		private int? _Proj_ID;
		
		private string _Proj_Name;
		
		private string _AttachFiles;
		
		private DateTime? _AddTime;
		
		private string _Adder;
		
		private int? _AddID;
		
		private string _ReMark;
		
		private DateTime? _EDTIME;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 项目编号
		/// </summary>
		public string Proj_No
		{
			get{ return _Proj_No; }
			set
			{
				this.OnPropertyValueChange(_.Proj_No,_Proj_No,value);
				this._Proj_No=value;
			}
		}

		
		/// <summary>
		/// 项目ID
		/// </summary>
		public int? Proj_ID
		{
			get{ return _Proj_ID; }
			set
			{
				this.OnPropertyValueChange(_.Proj_ID,_Proj_ID,value);
				this._Proj_ID=value;
			}
		}

		
		/// <summary>
		/// 项目名称
		/// </summary>
		public string Proj_Name
		{
			get{ return _Proj_Name; }
			set
			{
				this.OnPropertyValueChange(_.Proj_Name,_Proj_Name,value);
				this._Proj_Name=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string AttachFiles
		{
			get{ return _AttachFiles; }
			set
			{
				this.OnPropertyValueChange(_.AttachFiles,_AttachFiles,value);
				this._AttachFiles=value;
			}
		}

		
		/// <summary>
		/// 上传时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 上传人姓名
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 上传人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string ReMark
		{
			get{ return _ReMark; }
			set
			{
				this.OnPropertyValueChange(_.ReMark,_ReMark,value);
				this._ReMark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EDTIME
		{
			get{ return _EDTIME; }
			set
			{
				this.OnPropertyValueChange(_.EDTIME,_EDTIME,value);
				this._EDTIME=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Proj_No,

			
			_.Proj_ID,

			
			_.Proj_Name,

			
			_.AttachFiles,

			
			_.AddTime,

			
			_.Adder,

			
			_.AddID,

			
			_.ReMark,

			
			_.EDTIME

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Proj_No,

			
			this._Proj_ID,

			
			this._Proj_Name,

			
			this._AttachFiles,

			
			this._AddTime,

			
			this._Adder,

			
			this._AddID,

			
			this._ReMark,

			
			this._EDTIME

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Proj_No = DataUtils.ConvertValue<string>(reader["Proj_No"]);
						this._Proj_ID = DataUtils.ConvertValue<int?>(reader["Proj_ID"]);
						this._Proj_Name = DataUtils.ConvertValue<string>(reader["Proj_Name"]);
						this._AttachFiles = DataUtils.ConvertValue<string>(reader["AttachFiles"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._ReMark = DataUtils.ConvertValue<string>(reader["ReMark"]);
						this._EDTIME = DataUtils.ConvertValue<DateTime?>(reader["EDTIME"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Proj_No = DataUtils.ConvertValue<string>(row["Proj_No"]);
					this._Proj_ID = DataUtils.ConvertValue<int?>(row["Proj_ID"]);
					this._Proj_Name = DataUtils.ConvertValue<string>(row["Proj_Name"]);
					this._AttachFiles = DataUtils.ConvertValue<string>(row["AttachFiles"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._ReMark = DataUtils.ConvertValue<string>(row["ReMark"]);
					this._EDTIME = DataUtils.ConvertValue<DateTime?>(row["EDTIME"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Complet");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Complet","唯一标识");
					/// <summary>
			/// 项目编号
			/// </summary>
			public readonly static Field Proj_No = new Field("Proj_No","Proj_Complet","项目编号");
					/// <summary>
			/// 项目ID
			/// </summary>
			public readonly static Field Proj_ID = new Field("Proj_ID","Proj_Complet","项目ID");
					/// <summary>
			/// 项目名称
			/// </summary>
			public readonly static Field Proj_Name = new Field("Proj_Name","Proj_Complet","项目名称");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AttachFiles = new Field("AttachFiles","Proj_Complet","");
					/// <summary>
			/// 上传时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Complet","上传时间");
					/// <summary>
			/// 上传人姓名
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Complet","上传人姓名");
					/// <summary>
			/// 上传人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Complet","上传人ID");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field ReMark = new Field("ReMark","Proj_Complet","备注");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EDTIME = new Field("EDTIME","Proj_Complet","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Contat
    /// <summary>
	/// 实体类Proj_Contat 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Contat : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Contat 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Contat():base("Proj_Contat") {}

		#region Model

		
		private int _ID;
		
		private string _CONNUB;
		
		private string _CONNAME;
		
		private string _CONDES;
		
		private string _PRJNUB;
		
		private string _CUTNUB;
		
		private decimal? _TAMOUT;
		
		private bool? _CHKTAX;
		
		private decimal? _PERTAX;
		
		private decimal? _AMOUNT;
		
		private string _DLDATE;
		
		private string _PAYMET;
		
		private string _ADDRES;
		
		private string _REMARK;
		
		private string _ATTACH;
		
		private bool? _IsFinsh;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private bool? _IsDel;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 合同编号
		/// </summary>
		public string CONNUB
		{
			get{ return _CONNUB; }
			set
			{
				this.OnPropertyValueChange(_.CONNUB,_CONNUB,value);
				this._CONNUB=value;
			}
		}

		
		/// <summary>
		/// 合同名称
		/// </summary>
		public string CONNAME
		{
			get{ return _CONNAME; }
			set
			{
				this.OnPropertyValueChange(_.CONNAME,_CONNAME,value);
				this._CONNAME=value;
			}
		}

		
		/// <summary>
		/// 合同描述
		/// </summary>
		public string CONDES
		{
			get{ return _CONDES; }
			set
			{
				this.OnPropertyValueChange(_.CONDES,_CONDES,value);
				this._CONDES=value;
			}
		}

		
		/// <summary>
		/// 项目编号
		/// </summary>
		public string PRJNUB
		{
			get{ return _PRJNUB; }
			set
			{
				this.OnPropertyValueChange(_.PRJNUB,_PRJNUB,value);
				this._PRJNUB=value;
			}
		}

		
		/// <summary>
		/// 客户编号
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 不含税总金额
		/// </summary>
		public decimal? TAMOUT
		{
			get{ return _TAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.TAMOUT,_TAMOUT,value);
				this._TAMOUT=value;
			}
		}

		
		/// <summary>
		/// 是否含税
		/// </summary>
		public bool? CHKTAX
		{
			get{ return _CHKTAX; }
			set
			{
				this.OnPropertyValueChange(_.CHKTAX,_CHKTAX,value);
				this._CHKTAX=value;
			}
		}

		
		/// <summary>
		/// 税率
		/// </summary>
		public decimal? PERTAX
		{
			get{ return _PERTAX; }
			set
			{
				this.OnPropertyValueChange(_.PERTAX,_PERTAX,value);
				this._PERTAX=value;
			}
		}

		
		/// <summary>
		/// 合同总金额
		/// </summary>
		public decimal? AMOUNT
		{
			get{ return _AMOUNT; }
			set
			{
				this.OnPropertyValueChange(_.AMOUNT,_AMOUNT,value);
				this._AMOUNT=value;
			}
		}

		
		/// <summary>
		/// 计划交货日期
		/// </summary>
		public string DLDATE
		{
			get{ return _DLDATE; }
			set
			{
				this.OnPropertyValueChange(_.DLDATE,_DLDATE,value);
				this._DLDATE=value;
			}
		}

		
		/// <summary>
		/// 付款条件
		/// </summary>
		public string PAYMET
		{
			get{ return _PAYMET; }
			set
			{
				this.OnPropertyValueChange(_.PAYMET,_PAYMET,value);
				this._PAYMET=value;
			}
		}

		
		/// <summary>
		/// 交货地点
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 合同原件附件
		/// </summary>
		public string ATTACH
		{
			get{ return _ATTACH; }
			set
			{
				this.OnPropertyValueChange(_.ATTACH,_ATTACH,value);
				this._ATTACH=value;
			}
		}

		
		/// <summary>
		/// 是否送货完成
		/// </summary>
		public bool? IsFinsh
		{
			get{ return _IsFinsh; }
			set
			{
				this.OnPropertyValueChange(_.IsFinsh,_IsFinsh,value);
				this._IsFinsh=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsDel
		{
			get{ return _IsDel; }
			set
			{
				this.OnPropertyValueChange(_.IsDel,_IsDel,value);
				this._IsDel=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.CONNUB,

			
			_.CONNAME,

			
			_.CONDES,

			
			_.PRJNUB,

			
			_.CUTNUB,

			
			_.TAMOUT,

			
			_.CHKTAX,

			
			_.PERTAX,

			
			_.AMOUNT,

			
			_.DLDATE,

			
			_.PAYMET,

			
			_.ADDRES,

			
			_.REMARK,

			
			_.ATTACH,

			
			_.IsFinsh,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.IsDel

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._CONNUB,

			
			this._CONNAME,

			
			this._CONDES,

			
			this._PRJNUB,

			
			this._CUTNUB,

			
			this._TAMOUT,

			
			this._CHKTAX,

			
			this._PERTAX,

			
			this._AMOUNT,

			
			this._DLDATE,

			
			this._PAYMET,

			
			this._ADDRES,

			
			this._REMARK,

			
			this._ATTACH,

			
			this._IsFinsh,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._IsDel

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._CONNUB = DataUtils.ConvertValue<string>(reader["CONNUB"]);
						this._CONNAME = DataUtils.ConvertValue<string>(reader["CONNAME"]);
						this._CONDES = DataUtils.ConvertValue<string>(reader["CONDES"]);
						this._PRJNUB = DataUtils.ConvertValue<string>(reader["PRJNUB"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._TAMOUT = DataUtils.ConvertValue<decimal?>(reader["TAMOUT"]);
						this._CHKTAX = DataUtils.ConvertValue<bool?>(reader["CHKTAX"]);
						this._PERTAX = DataUtils.ConvertValue<decimal?>(reader["PERTAX"]);
						this._AMOUNT = DataUtils.ConvertValue<decimal?>(reader["AMOUNT"]);
						this._DLDATE = DataUtils.ConvertValue<string>(reader["DLDATE"]);
						this._PAYMET = DataUtils.ConvertValue<string>(reader["PAYMET"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._ATTACH = DataUtils.ConvertValue<string>(reader["ATTACH"]);
						this._IsFinsh = DataUtils.ConvertValue<bool?>(reader["IsFinsh"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._IsDel = DataUtils.ConvertValue<bool?>(reader["IsDel"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._CONNUB = DataUtils.ConvertValue<string>(row["CONNUB"]);
					this._CONNAME = DataUtils.ConvertValue<string>(row["CONNAME"]);
					this._CONDES = DataUtils.ConvertValue<string>(row["CONDES"]);
					this._PRJNUB = DataUtils.ConvertValue<string>(row["PRJNUB"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._TAMOUT = DataUtils.ConvertValue<decimal?>(row["TAMOUT"]);
					this._CHKTAX = DataUtils.ConvertValue<bool?>(row["CHKTAX"]);
					this._PERTAX = DataUtils.ConvertValue<decimal?>(row["PERTAX"]);
					this._AMOUNT = DataUtils.ConvertValue<decimal?>(row["AMOUNT"]);
					this._DLDATE = DataUtils.ConvertValue<string>(row["DLDATE"]);
					this._PAYMET = DataUtils.ConvertValue<string>(row["PAYMET"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._ATTACH = DataUtils.ConvertValue<string>(row["ATTACH"]);
					this._IsFinsh = DataUtils.ConvertValue<bool?>(row["IsFinsh"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._IsDel = DataUtils.ConvertValue<bool?>(row["IsDel"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Contat");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Contat","唯一标识");
					/// <summary>
			/// 合同编号
			/// </summary>
			public readonly static Field CONNUB = new Field("CONNUB","Proj_Contat","合同编号");
					/// <summary>
			/// 合同名称
			/// </summary>
			public readonly static Field CONNAME = new Field("CONNAME","Proj_Contat","合同名称");
					/// <summary>
			/// 合同描述
			/// </summary>
			public readonly static Field CONDES = new Field("CONDES","Proj_Contat","合同描述");
					/// <summary>
			/// 项目编号
			/// </summary>
			public readonly static Field PRJNUB = new Field("PRJNUB","Proj_Contat","项目编号");
					/// <summary>
			/// 客户编号
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","Proj_Contat","客户编号");
					/// <summary>
			/// 不含税总金额
			/// </summary>
			public readonly static Field TAMOUT = new Field("TAMOUT","Proj_Contat","不含税总金额");
					/// <summary>
			/// 是否含税
			/// </summary>
			public readonly static Field CHKTAX = new Field("CHKTAX","Proj_Contat","是否含税");
					/// <summary>
			/// 税率
			/// </summary>
			public readonly static Field PERTAX = new Field("PERTAX","Proj_Contat","税率");
					/// <summary>
			/// 合同总金额
			/// </summary>
			public readonly static Field AMOUNT = new Field("AMOUNT","Proj_Contat","合同总金额");
					/// <summary>
			/// 计划交货日期
			/// </summary>
			public readonly static Field DLDATE = new Field("DLDATE","Proj_Contat","计划交货日期");
					/// <summary>
			/// 付款条件
			/// </summary>
			public readonly static Field PAYMET = new Field("PAYMET","Proj_Contat","付款条件");
					/// <summary>
			/// 交货地点
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Proj_Contat","交货地点");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Contat","备注说明");
					/// <summary>
			/// 合同原件附件
			/// </summary>
			public readonly static Field ATTACH = new Field("ATTACH","Proj_Contat","合同原件附件");
					/// <summary>
			/// 是否送货完成
			/// </summary>
			public readonly static Field IsFinsh = new Field("IsFinsh","Proj_Contat","是否送货完成");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Contat","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Contat","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Contat","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsDel = new Field("IsDel","Proj_Contat","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Custor
    /// <summary>
	/// 实体类Proj_Custor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Custor : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Custor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Custor():base("Proj_Custor") {}

		#region Model

		
		private int _ID;
		
		private string _CUTNUB;
		
		private string _CUTYPE;
		
		private string _ElseTel;
		
		private string _CUTNAM;
		
		private string _ADDRES;
		
		private string _CONTAT;
		
		private string _TELPHO;
		
		private string _UEMAIL;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _PingYing;
		
		private string _HomeTel;
		
		private string _CUTYPE_FI;
		
		private string _CUTYPE_SE;
		
		private string _CUTYPE_TH;
		
		private string _CITY;
		
		private int? _REID;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 客户编号
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 客户类型
		/// </summary>
		public string CUTYPE
		{
			get{ return _CUTYPE; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE,_CUTYPE,value);
				this._CUTYPE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ElseTel
		{
			get{ return _ElseTel; }
			set
			{
				this.OnPropertyValueChange(_.ElseTel,_ElseTel,value);
				this._ElseTel=value;
			}
		}

		
		/// <summary>
		/// 客户名称
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 客户地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 联系人电话
		/// </summary>
		public string TELPHO
		{
			get{ return _TELPHO; }
			set
			{
				this.OnPropertyValueChange(_.TELPHO,_TELPHO,value);
				this._TELPHO=value;
			}
		}

		
		/// <summary>
		/// 联系人邮箱
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PingYing
		{
			get{ return _PingYing; }
			set
			{
				this.OnPropertyValueChange(_.PingYing,_PingYing,value);
				this._PingYing=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string HomeTel
		{
			get{ return _HomeTel; }
			set
			{
				this.OnPropertyValueChange(_.HomeTel,_HomeTel,value);
				this._HomeTel=value;
			}
		}

		
		/// <summary>
		/// 客户类型_1
		/// </summary>
		public string CUTYPE_FI
		{
			get{ return _CUTYPE_FI; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_FI,_CUTYPE_FI,value);
				this._CUTYPE_FI=value;
			}
		}

		
		/// <summary>
		/// 客户类型_2
		/// </summary>
		public string CUTYPE_SE
		{
			get{ return _CUTYPE_SE; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_SE,_CUTYPE_SE,value);
				this._CUTYPE_SE=value;
			}
		}

		
		/// <summary>
		/// 客户类型_3
		/// </summary>
		public string CUTYPE_TH
		{
			get{ return _CUTYPE_TH; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_TH,_CUTYPE_TH,value);
				this._CUTYPE_TH=value;
			}
		}

		
		/// <summary>
		/// 城市
		/// </summary>
		public string CITY
		{
			get{ return _CITY; }
			set
			{
				this.OnPropertyValueChange(_.CITY,_CITY,value);
				this._CITY=value;
			}
		}

		
		/// <summary>
		/// 拜访策略编号
		/// </summary>
		public int? REID
		{
			get{ return _REID; }
			set
			{
				this.OnPropertyValueChange(_.REID,_REID,value);
				this._REID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.CUTNUB,

			
			_.CUTYPE,

			
			_.ElseTel,

			
			_.CUTNAM,

			
			_.ADDRES,

			
			_.CONTAT,

			
			_.TELPHO,

			
			_.UEMAIL,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.PingYing,

			
			_.HomeTel,

			
			_.CUTYPE_FI,

			
			_.CUTYPE_SE,

			
			_.CUTYPE_TH,

			
			_.CITY,

			
			_.REID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._CUTNUB,

			
			this._CUTYPE,

			
			this._ElseTel,

			
			this._CUTNAM,

			
			this._ADDRES,

			
			this._CONTAT,

			
			this._TELPHO,

			
			this._UEMAIL,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._PingYing,

			
			this._HomeTel,

			
			this._CUTYPE_FI,

			
			this._CUTYPE_SE,

			
			this._CUTYPE_TH,

			
			this._CITY,

			
			this._REID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._CUTYPE = DataUtils.ConvertValue<string>(reader["CUTYPE"]);
						this._ElseTel = DataUtils.ConvertValue<string>(reader["ElseTel"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._TELPHO = DataUtils.ConvertValue<string>(reader["TELPHO"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._PingYing = DataUtils.ConvertValue<string>(reader["PingYing"]);
						this._HomeTel = DataUtils.ConvertValue<string>(reader["HomeTel"]);
						this._CUTYPE_FI = DataUtils.ConvertValue<string>(reader["CUTYPE_FI"]);
						this._CUTYPE_SE = DataUtils.ConvertValue<string>(reader["CUTYPE_SE"]);
						this._CUTYPE_TH = DataUtils.ConvertValue<string>(reader["CUTYPE_TH"]);
						this._CITY = DataUtils.ConvertValue<string>(reader["CITY"]);
						this._REID = DataUtils.ConvertValue<int?>(reader["REID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._CUTYPE = DataUtils.ConvertValue<string>(row["CUTYPE"]);
					this._ElseTel = DataUtils.ConvertValue<string>(row["ElseTel"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._TELPHO = DataUtils.ConvertValue<string>(row["TELPHO"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._PingYing = DataUtils.ConvertValue<string>(row["PingYing"]);
					this._HomeTel = DataUtils.ConvertValue<string>(row["HomeTel"]);
					this._CUTYPE_FI = DataUtils.ConvertValue<string>(row["CUTYPE_FI"]);
					this._CUTYPE_SE = DataUtils.ConvertValue<string>(row["CUTYPE_SE"]);
					this._CUTYPE_TH = DataUtils.ConvertValue<string>(row["CUTYPE_TH"]);
					this._CITY = DataUtils.ConvertValue<string>(row["CITY"]);
					this._REID = DataUtils.ConvertValue<int?>(row["REID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Custor");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Custor","唯一标识");
					/// <summary>
			/// 客户编号
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","Proj_Custor","客户编号");
					/// <summary>
			/// 客户类型
			/// </summary>
			public readonly static Field CUTYPE = new Field("CUTYPE","Proj_Custor","客户类型");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElseTel = new Field("ElseTel","Proj_Custor","");
					/// <summary>
			/// 客户名称
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","Proj_Custor","客户名称");
					/// <summary>
			/// 客户地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Proj_Custor","客户地址");
					/// <summary>
			/// 联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","Proj_Custor","联系人");
					/// <summary>
			/// 联系人电话
			/// </summary>
			public readonly static Field TELPHO = new Field("TELPHO","Proj_Custor","联系人电话");
					/// <summary>
			/// 联系人邮箱
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","Proj_Custor","联系人邮箱");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Custor","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Custor","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Custor","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PingYing = new Field("PingYing","Proj_Custor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field HomeTel = new Field("HomeTel","Proj_Custor","");
					/// <summary>
			/// 客户类型_1
			/// </summary>
			public readonly static Field CUTYPE_FI = new Field("CUTYPE_FI","Proj_Custor","客户类型_1");
					/// <summary>
			/// 客户类型_2
			/// </summary>
			public readonly static Field CUTYPE_SE = new Field("CUTYPE_SE","Proj_Custor","客户类型_2");
					/// <summary>
			/// 客户类型_3
			/// </summary>
			public readonly static Field CUTYPE_TH = new Field("CUTYPE_TH","Proj_Custor","客户类型_3");
					/// <summary>
			/// 城市
			/// </summary>
			public readonly static Field CITY = new Field("CITY","Proj_Custor","城市");
					/// <summary>
			/// 拜访策略编号
			/// </summary>
			public readonly static Field REID = new Field("REID","Proj_Custor","拜访策略编号");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Delivery
    /// <summary>
	/// 实体类Proj_Delivery 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Delivery : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Delivery 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Delivery():base("Proj_Delivery") {}

		#region Model

		
		private int _ID;
		
		private string _SHPNUB;
		
		private string _CUTNO;
		
		private string _PONBER;
		
		private string _CUTNAM;
		
		private string _ADDRES;
		
		private DateTime? _PLDATE;
		
		private DateTime? _STTIME;
		
		private DateTime? _EDTIME;
		
		private string _CONTET;
		
		private string _STATUS;
		
		private bool? _COMBIN;
		
		private string _REMARK;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private int? _AddID;
		
		private string _EmpName;
		
		private string _VEDNNBNo;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 送货编号
		/// </summary>
		public string SHPNUB
		{
			get{ return _SHPNUB; }
			set
			{
				this.OnPropertyValueChange(_.SHPNUB,_SHPNUB,value);
				this._SHPNUB=value;
			}
		}

		
		/// <summary>
		/// 客户编号
		/// </summary>
		public string CUTNO
		{
			get{ return _CUTNO; }
			set
			{
				this.OnPropertyValueChange(_.CUTNO,_CUTNO,value);
				this._CUTNO=value;
			}
		}

		
		/// <summary>
		/// 采购订单编号
		/// </summary>
		public string PONBER
		{
			get{ return _PONBER; }
			set
			{
				this.OnPropertyValueChange(_.PONBER,_PONBER,value);
				this._PONBER=value;
			}
		}

		
		/// <summary>
		/// 客户名称
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 送货地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 计划送货日期
		/// </summary>
		public DateTime? PLDATE
		{
			get{ return _PLDATE; }
			set
			{
				this.OnPropertyValueChange(_.PLDATE,_PLDATE,value);
				this._PLDATE=value;
			}
		}

		
		/// <summary>
		/// 计划送货时间起始
		/// </summary>
		public DateTime? STTIME
		{
			get{ return _STTIME; }
			set
			{
				this.OnPropertyValueChange(_.STTIME,_STTIME,value);
				this._STTIME=value;
			}
		}

		
		/// <summary>
		/// 计划送货时间终止
		/// </summary>
		public DateTime? EDTIME
		{
			get{ return _EDTIME; }
			set
			{
				this.OnPropertyValueChange(_.EDTIME,_EDTIME,value);
				this._EDTIME=value;
			}
		}

		
		/// <summary>
		/// 配送内容描述
		/// </summary>
		public string CONTET
		{
			get{ return _CONTET; }
			set
			{
				this.OnPropertyValueChange(_.CONTET,_CONTET,value);
				this._CONTET=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public string STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 是否已经合并送货
		/// </summary>
		public bool? COMBIN
		{
			get{ return _COMBIN; }
			set
			{
				this.OnPropertyValueChange(_.COMBIN,_COMBIN,value);
				this._COMBIN=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EmpName
		{
			get{ return _EmpName; }
			set
			{
				this.OnPropertyValueChange(_.EmpName,_EmpName,value);
				this._EmpName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string VEDNNBNo
		{
			get{ return _VEDNNBNo; }
			set
			{
				this.OnPropertyValueChange(_.VEDNNBNo,_VEDNNBNo,value);
				this._VEDNNBNo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.SHPNUB,

			
			_.CUTNO,

			
			_.PONBER,

			
			_.CUTNAM,

			
			_.ADDRES,

			
			_.PLDATE,

			
			_.STTIME,

			
			_.EDTIME,

			
			_.CONTET,

			
			_.STATUS,

			
			_.COMBIN,

			
			_.REMARK,

			
			_.Adder,

			
			_.AddTime,

			
			_.AddID,

			
			_.EmpName,

			
			_.VEDNNBNo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._SHPNUB,

			
			this._CUTNO,

			
			this._PONBER,

			
			this._CUTNAM,

			
			this._ADDRES,

			
			this._PLDATE,

			
			this._STTIME,

			
			this._EDTIME,

			
			this._CONTET,

			
			this._STATUS,

			
			this._COMBIN,

			
			this._REMARK,

			
			this._Adder,

			
			this._AddTime,

			
			this._AddID,

			
			this._EmpName,

			
			this._VEDNNBNo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._SHPNUB = DataUtils.ConvertValue<string>(reader["SHPNUB"]);
						this._CUTNO = DataUtils.ConvertValue<string>(reader["CUTNO"]);
						this._PONBER = DataUtils.ConvertValue<string>(reader["PONBER"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._PLDATE = DataUtils.ConvertValue<DateTime?>(reader["PLDATE"]);
						this._STTIME = DataUtils.ConvertValue<DateTime?>(reader["STTIME"]);
						this._EDTIME = DataUtils.ConvertValue<DateTime?>(reader["EDTIME"]);
						this._CONTET = DataUtils.ConvertValue<string>(reader["CONTET"]);
						this._STATUS = DataUtils.ConvertValue<string>(reader["STATUS"]);
						this._COMBIN = DataUtils.ConvertValue<bool?>(reader["COMBIN"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._EmpName = DataUtils.ConvertValue<string>(reader["EmpName"]);
						this._VEDNNBNo = DataUtils.ConvertValue<string>(reader["VEDNNBNo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._SHPNUB = DataUtils.ConvertValue<string>(row["SHPNUB"]);
					this._CUTNO = DataUtils.ConvertValue<string>(row["CUTNO"]);
					this._PONBER = DataUtils.ConvertValue<string>(row["PONBER"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._PLDATE = DataUtils.ConvertValue<DateTime?>(row["PLDATE"]);
					this._STTIME = DataUtils.ConvertValue<DateTime?>(row["STTIME"]);
					this._EDTIME = DataUtils.ConvertValue<DateTime?>(row["EDTIME"]);
					this._CONTET = DataUtils.ConvertValue<string>(row["CONTET"]);
					this._STATUS = DataUtils.ConvertValue<string>(row["STATUS"]);
					this._COMBIN = DataUtils.ConvertValue<bool?>(row["COMBIN"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._EmpName = DataUtils.ConvertValue<string>(row["EmpName"]);
					this._VEDNNBNo = DataUtils.ConvertValue<string>(row["VEDNNBNo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Delivery");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Delivery","唯一标识");
					/// <summary>
			/// 送货编号
			/// </summary>
			public readonly static Field SHPNUB = new Field("SHPNUB","Proj_Delivery","送货编号");
					/// <summary>
			/// 客户编号
			/// </summary>
			public readonly static Field CUTNO = new Field("CUTNO","Proj_Delivery","客户编号");
					/// <summary>
			/// 采购订单编号
			/// </summary>
			public readonly static Field PONBER = new Field("PONBER","Proj_Delivery","采购订单编号");
					/// <summary>
			/// 客户名称
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","Proj_Delivery","客户名称");
					/// <summary>
			/// 送货地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Proj_Delivery","送货地址");
					/// <summary>
			/// 计划送货日期
			/// </summary>
			public readonly static Field PLDATE = new Field("PLDATE","Proj_Delivery","计划送货日期");
					/// <summary>
			/// 计划送货时间起始
			/// </summary>
			public readonly static Field STTIME = new Field("STTIME","Proj_Delivery","计划送货时间起始");
					/// <summary>
			/// 计划送货时间终止
			/// </summary>
			public readonly static Field EDTIME = new Field("EDTIME","Proj_Delivery","计划送货时间终止");
					/// <summary>
			/// 配送内容描述
			/// </summary>
			public readonly static Field CONTET = new Field("CONTET","Proj_Delivery","配送内容描述");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Proj_Delivery","状态");
					/// <summary>
			/// 是否已经合并送货
			/// </summary>
			public readonly static Field COMBIN = new Field("COMBIN","Proj_Delivery","是否已经合并送货");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Delivery","备注说明");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Delivery","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Delivery","添加时间");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Delivery","添加人ID");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EmpName = new Field("EmpName","Proj_Delivery","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field VEDNNBNo = new Field("VEDNNBNo","Proj_Delivery","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Main
    /// <summary>
	/// 实体类Proj_Main 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Main : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Main 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Main():base("Proj_Main") {}

		#region Model

		
		private int _ID;
		
		private string _PRJNUB;
		
		private string _DESTON;
		
		private string _CONTAT;
		
		private string _COTYPE;
		
		private string _ADDRES;
		
		private string _STATUS;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private DateTime? _FinshTime;
		
		private string _Team_Mem;
		
		private string _ReMark;
		
		private string _CUTNUB;
		
		private string _CUTNAM;
		
		private bool? _IsFlag;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 项目编号
		/// </summary>
		public string PRJNUB
		{
			get{ return _PRJNUB; }
			set
			{
				this.OnPropertyValueChange(_.PRJNUB,_PRJNUB,value);
				this._PRJNUB=value;
			}
		}

		
		/// <summary>
		/// 项目描述
		/// </summary>
		public string DESTON
		{
			get{ return _DESTON; }
			set
			{
				this.OnPropertyValueChange(_.DESTON,_DESTON,value);
				this._DESTON=value;
			}
		}

		
		/// <summary>
		/// 项目联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 联系方式
		/// </summary>
		public string COTYPE
		{
			get{ return _COTYPE; }
			set
			{
				this.OnPropertyValueChange(_.COTYPE,_COTYPE,value);
				this._COTYPE=value;
			}
		}

		
		/// <summary>
		/// 项目地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public string STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 项目完工时间
		/// </summary>
		public DateTime? FinshTime
		{
			get{ return _FinshTime; }
			set
			{
				this.OnPropertyValueChange(_.FinshTime,_FinshTime,value);
				this._FinshTime=value;
			}
		}

		
		/// <summary>
		/// 团队成员
		/// </summary>
		public string Team_Mem
		{
			get{ return _Team_Mem; }
			set
			{
				this.OnPropertyValueChange(_.Team_Mem,_Team_Mem,value);
				this._Team_Mem=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string ReMark
		{
			get{ return _ReMark; }
			set
			{
				this.OnPropertyValueChange(_.ReMark,_ReMark,value);
				this._ReMark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsFlag
		{
			get{ return _IsFlag; }
			set
			{
				this.OnPropertyValueChange(_.IsFlag,_IsFlag,value);
				this._IsFlag=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PRJNUB,

			
			_.DESTON,

			
			_.CONTAT,

			
			_.COTYPE,

			
			_.ADDRES,

			
			_.STATUS,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.FinshTime,

			
			_.Team_Mem,

			
			_.ReMark,

			
			_.CUTNUB,

			
			_.CUTNAM,

			
			_.IsFlag

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PRJNUB,

			
			this._DESTON,

			
			this._CONTAT,

			
			this._COTYPE,

			
			this._ADDRES,

			
			this._STATUS,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._FinshTime,

			
			this._Team_Mem,

			
			this._ReMark,

			
			this._CUTNUB,

			
			this._CUTNAM,

			
			this._IsFlag

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PRJNUB = DataUtils.ConvertValue<string>(reader["PRJNUB"]);
						this._DESTON = DataUtils.ConvertValue<string>(reader["DESTON"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._COTYPE = DataUtils.ConvertValue<string>(reader["COTYPE"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._STATUS = DataUtils.ConvertValue<string>(reader["STATUS"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._FinshTime = DataUtils.ConvertValue<DateTime?>(reader["FinshTime"]);
						this._Team_Mem = DataUtils.ConvertValue<string>(reader["Team_Mem"]);
						this._ReMark = DataUtils.ConvertValue<string>(reader["ReMark"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._IsFlag = DataUtils.ConvertValue<bool?>(reader["IsFlag"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PRJNUB = DataUtils.ConvertValue<string>(row["PRJNUB"]);
					this._DESTON = DataUtils.ConvertValue<string>(row["DESTON"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._COTYPE = DataUtils.ConvertValue<string>(row["COTYPE"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._STATUS = DataUtils.ConvertValue<string>(row["STATUS"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._FinshTime = DataUtils.ConvertValue<DateTime?>(row["FinshTime"]);
					this._Team_Mem = DataUtils.ConvertValue<string>(row["Team_Mem"]);
					this._ReMark = DataUtils.ConvertValue<string>(row["ReMark"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._IsFlag = DataUtils.ConvertValue<bool?>(row["IsFlag"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Main");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Main","唯一标识");
					/// <summary>
			/// 项目编号
			/// </summary>
			public readonly static Field PRJNUB = new Field("PRJNUB","Proj_Main","项目编号");
					/// <summary>
			/// 项目描述
			/// </summary>
			public readonly static Field DESTON = new Field("DESTON","Proj_Main","项目描述");
					/// <summary>
			/// 项目联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","Proj_Main","项目联系人");
					/// <summary>
			/// 联系方式
			/// </summary>
			public readonly static Field COTYPE = new Field("COTYPE","Proj_Main","联系方式");
					/// <summary>
			/// 项目地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Proj_Main","项目地址");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Proj_Main","状态");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Main","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Main","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Main","");
					/// <summary>
			/// 项目完工时间
			/// </summary>
			public readonly static Field FinshTime = new Field("FinshTime","Proj_Main","项目完工时间");
					/// <summary>
			/// 团队成员
			/// </summary>
			public readonly static Field Team_Mem = new Field("Team_Mem","Proj_Main","团队成员");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field ReMark = new Field("ReMark","Proj_Main","备注");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","Proj_Main","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","Proj_Main","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsFlag = new Field("IsFlag","Proj_Main","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Meeting
    /// <summary>
	/// 实体类Proj_Meeting 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Meeting : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Meeting 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Meeting():base("Proj_Meeting") {}

		#region Model

		
		private int _ID;
		
		private string _METNUB;
		
		private int? _USERID;
		
		private string _CHRMAN;
		
		private string _ATTEND;
		
		private DateTime? _STDATE;
		
		private DateTime? _STTIME;
		
		private DateTime? _EDTIME;
		
		private string _MTOPIC;
		
		private string _SUBJET;
		
		private int? _STATUS;
		
		private string _SUMMAY;
		
		private string _SUMMID;
		
		private string _REMARK;
		
		private DateTime? _AddTime;
		
		private string _Adder;
		
		private string _CHRMANIDs;
		
		private string _ATTENDIDS;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 会议编号
		/// </summary>
		public string METNUB
		{
			get{ return _METNUB; }
			set
			{
				this.OnPropertyValueChange(_.METNUB,_METNUB,value);
				this._METNUB=value;
			}
		}

		
		/// <summary>
		/// 创建者账号
		/// </summary>
		public int? USERID
		{
			get{ return _USERID; }
			set
			{
				this.OnPropertyValueChange(_.USERID,_USERID,value);
				this._USERID=value;
			}
		}

		
		/// <summary>
		/// 会议主持人
		/// </summary>
		public string CHRMAN
		{
			get{ return _CHRMAN; }
			set
			{
				this.OnPropertyValueChange(_.CHRMAN,_CHRMAN,value);
				this._CHRMAN=value;
			}
		}

		
		/// <summary>
		/// 会员参与者
		/// </summary>
		public string ATTEND
		{
			get{ return _ATTEND; }
			set
			{
				this.OnPropertyValueChange(_.ATTEND,_ATTEND,value);
				this._ATTEND=value;
			}
		}

		
		/// <summary>
		/// 会议召开日期
		/// </summary>
		public DateTime? STDATE
		{
			get{ return _STDATE; }
			set
			{
				this.OnPropertyValueChange(_.STDATE,_STDATE,value);
				this._STDATE=value;
			}
		}

		
		/// <summary>
		/// 会议召开时间
		/// </summary>
		public DateTime? STTIME
		{
			get{ return _STTIME; }
			set
			{
				this.OnPropertyValueChange(_.STTIME,_STTIME,value);
				this._STTIME=value;
			}
		}

		
		/// <summary>
		/// 会议预计结束时间
		/// </summary>
		public DateTime? EDTIME
		{
			get{ return _EDTIME; }
			set
			{
				this.OnPropertyValueChange(_.EDTIME,_EDTIME,value);
				this._EDTIME=value;
			}
		}

		
		/// <summary>
		/// 会议主题
		/// </summary>
		public string MTOPIC
		{
			get{ return _MTOPIC; }
			set
			{
				this.OnPropertyValueChange(_.MTOPIC,_MTOPIC,value);
				this._MTOPIC=value;
			}
		}

		
		/// <summary>
		/// 会议议程
		/// </summary>
		public string SUBJET
		{
			get{ return _SUBJET; }
			set
			{
				this.OnPropertyValueChange(_.SUBJET,_SUBJET,value);
				this._SUBJET=value;
			}
		}

		
		/// <summary>
		/// 会议状态
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 会议纪要
		/// </summary>
		public string SUMMAY
		{
			get{ return _SUMMAY; }
			set
			{
				this.OnPropertyValueChange(_.SUMMAY,_SUMMAY,value);
				this._SUMMAY=value;
			}
		}

		
		/// <summary>
		/// 纪要创建者
		/// </summary>
		public string SUMMID
		{
			get{ return _SUMMID; }
			set
			{
				this.OnPropertyValueChange(_.SUMMID,_SUMMID,value);
				this._SUMMID=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CHRMANIDs
		{
			get{ return _CHRMANIDs; }
			set
			{
				this.OnPropertyValueChange(_.CHRMANIDs,_CHRMANIDs,value);
				this._CHRMANIDs=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ATTENDIDS
		{
			get{ return _ATTENDIDS; }
			set
			{
				this.OnPropertyValueChange(_.ATTENDIDS,_ATTENDIDS,value);
				this._ATTENDIDS=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.METNUB,

			
			_.USERID,

			
			_.CHRMAN,

			
			_.ATTEND,

			
			_.STDATE,

			
			_.STTIME,

			
			_.EDTIME,

			
			_.MTOPIC,

			
			_.SUBJET,

			
			_.STATUS,

			
			_.SUMMAY,

			
			_.SUMMID,

			
			_.REMARK,

			
			_.AddTime,

			
			_.Adder,

			
			_.CHRMANIDs,

			
			_.ATTENDIDS

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._METNUB,

			
			this._USERID,

			
			this._CHRMAN,

			
			this._ATTEND,

			
			this._STDATE,

			
			this._STTIME,

			
			this._EDTIME,

			
			this._MTOPIC,

			
			this._SUBJET,

			
			this._STATUS,

			
			this._SUMMAY,

			
			this._SUMMID,

			
			this._REMARK,

			
			this._AddTime,

			
			this._Adder,

			
			this._CHRMANIDs,

			
			this._ATTENDIDS

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._METNUB = DataUtils.ConvertValue<string>(reader["METNUB"]);
						this._USERID = DataUtils.ConvertValue<int?>(reader["USERID"]);
						this._CHRMAN = DataUtils.ConvertValue<string>(reader["CHRMAN"]);
						this._ATTEND = DataUtils.ConvertValue<string>(reader["ATTEND"]);
						this._STDATE = DataUtils.ConvertValue<DateTime?>(reader["STDATE"]);
						this._STTIME = DataUtils.ConvertValue<DateTime?>(reader["STTIME"]);
						this._EDTIME = DataUtils.ConvertValue<DateTime?>(reader["EDTIME"]);
						this._MTOPIC = DataUtils.ConvertValue<string>(reader["MTOPIC"]);
						this._SUBJET = DataUtils.ConvertValue<string>(reader["SUBJET"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._SUMMAY = DataUtils.ConvertValue<string>(reader["SUMMAY"]);
						this._SUMMID = DataUtils.ConvertValue<string>(reader["SUMMID"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._CHRMANIDs = DataUtils.ConvertValue<string>(reader["CHRMANIDs"]);
						this._ATTENDIDS = DataUtils.ConvertValue<string>(reader["ATTENDIDS"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._METNUB = DataUtils.ConvertValue<string>(row["METNUB"]);
					this._USERID = DataUtils.ConvertValue<int?>(row["USERID"]);
					this._CHRMAN = DataUtils.ConvertValue<string>(row["CHRMAN"]);
					this._ATTEND = DataUtils.ConvertValue<string>(row["ATTEND"]);
					this._STDATE = DataUtils.ConvertValue<DateTime?>(row["STDATE"]);
					this._STTIME = DataUtils.ConvertValue<DateTime?>(row["STTIME"]);
					this._EDTIME = DataUtils.ConvertValue<DateTime?>(row["EDTIME"]);
					this._MTOPIC = DataUtils.ConvertValue<string>(row["MTOPIC"]);
					this._SUBJET = DataUtils.ConvertValue<string>(row["SUBJET"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._SUMMAY = DataUtils.ConvertValue<string>(row["SUMMAY"]);
					this._SUMMID = DataUtils.ConvertValue<string>(row["SUMMID"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._CHRMANIDs = DataUtils.ConvertValue<string>(row["CHRMANIDs"]);
					this._ATTENDIDS = DataUtils.ConvertValue<string>(row["ATTENDIDS"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Meeting");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Meeting","唯一标识");
					/// <summary>
			/// 会议编号
			/// </summary>
			public readonly static Field METNUB = new Field("METNUB","Proj_Meeting","会议编号");
					/// <summary>
			/// 创建者账号
			/// </summary>
			public readonly static Field USERID = new Field("USERID","Proj_Meeting","创建者账号");
					/// <summary>
			/// 会议主持人
			/// </summary>
			public readonly static Field CHRMAN = new Field("CHRMAN","Proj_Meeting","会议主持人");
					/// <summary>
			/// 会员参与者
			/// </summary>
			public readonly static Field ATTEND = new Field("ATTEND","Proj_Meeting","会员参与者");
					/// <summary>
			/// 会议召开日期
			/// </summary>
			public readonly static Field STDATE = new Field("STDATE","Proj_Meeting","会议召开日期");
					/// <summary>
			/// 会议召开时间
			/// </summary>
			public readonly static Field STTIME = new Field("STTIME","Proj_Meeting","会议召开时间");
					/// <summary>
			/// 会议预计结束时间
			/// </summary>
			public readonly static Field EDTIME = new Field("EDTIME","Proj_Meeting","会议预计结束时间");
					/// <summary>
			/// 会议主题
			/// </summary>
			public readonly static Field MTOPIC = new Field("MTOPIC","Proj_Meeting","会议主题");
					/// <summary>
			/// 会议议程
			/// </summary>
			public readonly static Field SUBJET = new Field("SUBJET","Proj_Meeting","会议议程");
					/// <summary>
			/// 会议状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Proj_Meeting","会议状态");
					/// <summary>
			/// 会议纪要
			/// </summary>
			public readonly static Field SUMMAY = new Field("SUMMAY","Proj_Meeting","会议纪要");
					/// <summary>
			/// 纪要创建者
			/// </summary>
			public readonly static Field SUMMID = new Field("SUMMID","Proj_Meeting","纪要创建者");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Meeting","备注说明");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Meeting","添加时间");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Meeting","添加人");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CHRMANIDs = new Field("CHRMANIDs","Proj_Meeting","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ATTENDIDS = new Field("ATTENDIDS","Proj_Meeting","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Podata
    /// <summary>
	/// 实体类Proj_Podata 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Podata : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Podata 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Podata():base("Proj_Podata") {}

		#region Model

		
		private int _ID;
		
		private string _PONBER;
		
		private string _POTYPE;
		
		private string _CONNUB;
		
		private string _VEDNUB;
		
		private string _REQTOR;
		
		private string _REMARK;
		
		private string _VENDPO;
		
		private decimal? _CAMOUT;
		
		private bool? _CHKTAX;
		
		private decimal? _PERTAX;
		
		private decimal? _TAMOUT;
		
		private DateTime? _DLDATE;
		
		private int? _STATUS;
		
		private string _PATYPE;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private bool? _IsShou;
		
		private string _VEDNNBNo;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 采购订单号
		/// </summary>
		public string PONBER
		{
			get{ return _PONBER; }
			set
			{
				this.OnPropertyValueChange(_.PONBER,_PONBER,value);
				this._PONBER=value;
			}
		}

		
		/// <summary>
		/// 订单类型
		/// </summary>
		public string POTYPE
		{
			get{ return _POTYPE; }
			set
			{
				this.OnPropertyValueChange(_.POTYPE,_POTYPE,value);
				this._POTYPE=value;
			}
		}

		
		/// <summary>
		/// 合同编号 
		/// </summary>
		public string CONNUB
		{
			get{ return _CONNUB; }
			set
			{
				this.OnPropertyValueChange(_.CONNUB,_CONNUB,value);
				this._CONNUB=value;
			}
		}

		
		/// <summary>
		/// 供应商编号
		/// </summary>
		public string VEDNUB
		{
			get{ return _VEDNUB; }
			set
			{
				this.OnPropertyValueChange(_.VEDNUB,_VEDNUB,value);
				this._VEDNUB=value;
			}
		}

		
		/// <summary>
		/// 申请人
		/// </summary>
		public string REQTOR
		{
			get{ return _REQTOR; }
			set
			{
				this.OnPropertyValueChange(_.REQTOR,_REQTOR,value);
				this._REQTOR=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 供应商报价单
		/// </summary>
		public string VENDPO
		{
			get{ return _VENDPO; }
			set
			{
				this.OnPropertyValueChange(_.VENDPO,_VENDPO,value);
				this._VENDPO=value;
			}
		}

		
		/// <summary>
		/// 总金额
		/// </summary>
		public decimal? CAMOUT
		{
			get{ return _CAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.CAMOUT,_CAMOUT,value);
				this._CAMOUT=value;
			}
		}

		
		/// <summary>
		/// 是否含税
		/// </summary>
		public bool? CHKTAX
		{
			get{ return _CHKTAX; }
			set
			{
				this.OnPropertyValueChange(_.CHKTAX,_CHKTAX,value);
				this._CHKTAX=value;
			}
		}

		
		/// <summary>
		/// 税率
		/// </summary>
		public decimal? PERTAX
		{
			get{ return _PERTAX; }
			set
			{
				this.OnPropertyValueChange(_.PERTAX,_PERTAX,value);
				this._PERTAX=value;
			}
		}

		
		/// <summary>
		/// 含税总金额
		/// </summary>
		public decimal? TAMOUT
		{
			get{ return _TAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.TAMOUT,_TAMOUT,value);
				this._TAMOUT=value;
			}
		}

		
		/// <summary>
		/// 交货日期
		/// </summary>
		public DateTime? DLDATE
		{
			get{ return _DLDATE; }
			set
			{
				this.OnPropertyValueChange(_.DLDATE,_DLDATE,value);
				this._DLDATE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 付款方式
		/// </summary>
		public string PATYPE
		{
			get{ return _PATYPE; }
			set
			{
				this.OnPropertyValueChange(_.PATYPE,_PATYPE,value);
				this._PATYPE=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 是否收货完成
		/// </summary>
		public bool? IsShou
		{
			get{ return _IsShou; }
			set
			{
				this.OnPropertyValueChange(_.IsShou,_IsShou,value);
				this._IsShou=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string VEDNNBNo
		{
			get{ return _VEDNNBNo; }
			set
			{
				this.OnPropertyValueChange(_.VEDNNBNo,_VEDNNBNo,value);
				this._VEDNNBNo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PONBER,

			
			_.POTYPE,

			
			_.CONNUB,

			
			_.VEDNUB,

			
			_.REQTOR,

			
			_.REMARK,

			
			_.VENDPO,

			
			_.CAMOUT,

			
			_.CHKTAX,

			
			_.PERTAX,

			
			_.TAMOUT,

			
			_.DLDATE,

			
			_.STATUS,

			
			_.PATYPE,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.IsShou,

			
			_.VEDNNBNo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PONBER,

			
			this._POTYPE,

			
			this._CONNUB,

			
			this._VEDNUB,

			
			this._REQTOR,

			
			this._REMARK,

			
			this._VENDPO,

			
			this._CAMOUT,

			
			this._CHKTAX,

			
			this._PERTAX,

			
			this._TAMOUT,

			
			this._DLDATE,

			
			this._STATUS,

			
			this._PATYPE,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._IsShou,

			
			this._VEDNNBNo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PONBER = DataUtils.ConvertValue<string>(reader["PONBER"]);
						this._POTYPE = DataUtils.ConvertValue<string>(reader["POTYPE"]);
						this._CONNUB = DataUtils.ConvertValue<string>(reader["CONNUB"]);
						this._VEDNUB = DataUtils.ConvertValue<string>(reader["VEDNUB"]);
						this._REQTOR = DataUtils.ConvertValue<string>(reader["REQTOR"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._VENDPO = DataUtils.ConvertValue<string>(reader["VENDPO"]);
						this._CAMOUT = DataUtils.ConvertValue<decimal?>(reader["CAMOUT"]);
						this._CHKTAX = DataUtils.ConvertValue<bool?>(reader["CHKTAX"]);
						this._PERTAX = DataUtils.ConvertValue<decimal?>(reader["PERTAX"]);
						this._TAMOUT = DataUtils.ConvertValue<decimal?>(reader["TAMOUT"]);
						this._DLDATE = DataUtils.ConvertValue<DateTime?>(reader["DLDATE"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._PATYPE = DataUtils.ConvertValue<string>(reader["PATYPE"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._IsShou = DataUtils.ConvertValue<bool?>(reader["IsShou"]);
						this._VEDNNBNo = DataUtils.ConvertValue<string>(reader["VEDNNBNo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PONBER = DataUtils.ConvertValue<string>(row["PONBER"]);
					this._POTYPE = DataUtils.ConvertValue<string>(row["POTYPE"]);
					this._CONNUB = DataUtils.ConvertValue<string>(row["CONNUB"]);
					this._VEDNUB = DataUtils.ConvertValue<string>(row["VEDNUB"]);
					this._REQTOR = DataUtils.ConvertValue<string>(row["REQTOR"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._VENDPO = DataUtils.ConvertValue<string>(row["VENDPO"]);
					this._CAMOUT = DataUtils.ConvertValue<decimal?>(row["CAMOUT"]);
					this._CHKTAX = DataUtils.ConvertValue<bool?>(row["CHKTAX"]);
					this._PERTAX = DataUtils.ConvertValue<decimal?>(row["PERTAX"]);
					this._TAMOUT = DataUtils.ConvertValue<decimal?>(row["TAMOUT"]);
					this._DLDATE = DataUtils.ConvertValue<DateTime?>(row["DLDATE"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._PATYPE = DataUtils.ConvertValue<string>(row["PATYPE"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._IsShou = DataUtils.ConvertValue<bool?>(row["IsShou"]);
					this._VEDNNBNo = DataUtils.ConvertValue<string>(row["VEDNNBNo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Podata");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Podata","唯一标识");
					/// <summary>
			/// 采购订单号
			/// </summary>
			public readonly static Field PONBER = new Field("PONBER","Proj_Podata","采购订单号");
					/// <summary>
			/// 订单类型
			/// </summary>
			public readonly static Field POTYPE = new Field("POTYPE","Proj_Podata","订单类型");
					/// <summary>
			/// 合同编号 
			/// </summary>
			public readonly static Field CONNUB = new Field("CONNUB","Proj_Podata","合同编号 ");
					/// <summary>
			/// 供应商编号
			/// </summary>
			public readonly static Field VEDNUB = new Field("VEDNUB","Proj_Podata","供应商编号");
					/// <summary>
			/// 申请人
			/// </summary>
			public readonly static Field REQTOR = new Field("REQTOR","Proj_Podata","申请人");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Podata","备注");
					/// <summary>
			/// 供应商报价单
			/// </summary>
			public readonly static Field VENDPO = new Field("VENDPO","Proj_Podata","供应商报价单");
					/// <summary>
			/// 总金额
			/// </summary>
			public readonly static Field CAMOUT = new Field("CAMOUT","Proj_Podata","总金额");
					/// <summary>
			/// 是否含税
			/// </summary>
			public readonly static Field CHKTAX = new Field("CHKTAX","Proj_Podata","是否含税");
					/// <summary>
			/// 税率
			/// </summary>
			public readonly static Field PERTAX = new Field("PERTAX","Proj_Podata","税率");
					/// <summary>
			/// 含税总金额
			/// </summary>
			public readonly static Field TAMOUT = new Field("TAMOUT","Proj_Podata","含税总金额");
					/// <summary>
			/// 交货日期
			/// </summary>
			public readonly static Field DLDATE = new Field("DLDATE","Proj_Podata","交货日期");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Proj_Podata","");
					/// <summary>
			/// 付款方式
			/// </summary>
			public readonly static Field PATYPE = new Field("PATYPE","Proj_Podata","付款方式");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Podata","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Podata","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Podata","添加时间");
					/// <summary>
			/// 是否收货完成
			/// </summary>
			public readonly static Field IsShou = new Field("IsShou","Proj_Podata","是否收货完成");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field VEDNNBNo = new Field("VEDNNBNo","Proj_Podata","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Popayf
    /// <summary>
	/// 实体类Proj_Popayf 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Popayf : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Popayf 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Popayf():base("Proj_Popayf") {}

		#region Model

		
		private int _ID;
		
		private string _PONUBR;
		
		private string _PayNo;
		
		private decimal? _REMOUT;
		
		private DateTime? _REDATE;
		
		private string _INSTAS;
		
		private string _INVNUB;
		
		private decimal? _IAMOUT;
		
		private DateTime? _INDATE;
		
		private string _PERSON;
		
		private decimal? _ARAMOT;
		
		private decimal? _Sheng;
		
		private string _REMARK;
		
		private string _Adder;
		
		private int? _AddID;
		
		private DateTime? _AddTime;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 采购订单编号
		/// </summary>
		public string PONUBR
		{
			get{ return _PONUBR; }
			set
			{
				this.OnPropertyValueChange(_.PONUBR,_PONUBR,value);
				this._PONUBR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PayNo
		{
			get{ return _PayNo; }
			set
			{
				this.OnPropertyValueChange(_.PayNo,_PayNo,value);
				this._PayNo=value;
			}
		}

		
		/// <summary>
		/// 本行项目付款金额 
		/// </summary>
		public decimal? REMOUT
		{
			get{ return _REMOUT; }
			set
			{
				this.OnPropertyValueChange(_.REMOUT,_REMOUT,value);
				this._REMOUT=value;
			}
		}

		
		/// <summary>
		/// 付款日期
		/// </summary>
		public DateTime? REDATE
		{
			get{ return _REDATE; }
			set
			{
				this.OnPropertyValueChange(_.REDATE,_REDATE,value);
				this._REDATE=value;
			}
		}

		
		/// <summary>
		/// 发票状态
		/// </summary>
		public string INSTAS
		{
			get{ return _INSTAS; }
			set
			{
				this.OnPropertyValueChange(_.INSTAS,_INSTAS,value);
				this._INSTAS=value;
			}
		}

		
		/// <summary>
		/// 发票号
		/// </summary>
		public string INVNUB
		{
			get{ return _INVNUB; }
			set
			{
				this.OnPropertyValueChange(_.INVNUB,_INVNUB,value);
				this._INVNUB=value;
			}
		}

		
		/// <summary>
		/// 发票金额 
		/// </summary>
		public decimal? IAMOUT
		{
			get{ return _IAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.IAMOUT,_IAMOUT,value);
				this._IAMOUT=value;
			}
		}

		
		/// <summary>
		/// 发票开票日期
		/// </summary>
		public DateTime? INDATE
		{
			get{ return _INDATE; }
			set
			{
				this.OnPropertyValueChange(_.INDATE,_INDATE,value);
				this._INDATE=value;
			}
		}

		
		/// <summary>
		/// 经手人
		/// </summary>
		public string PERSON
		{
			get{ return _PERSON; }
			set
			{
				this.OnPropertyValueChange(_.PERSON,_PERSON,value);
				this._PERSON=value;
			}
		}

		
		/// <summary>
		/// 应付款金额
		/// </summary>
		public decimal? ARAMOT
		{
			get{ return _ARAMOT; }
			set
			{
				this.OnPropertyValueChange(_.ARAMOT,_ARAMOT,value);
				this._ARAMOT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Sheng
		{
			get{ return _Sheng; }
			set
			{
				this.OnPropertyValueChange(_.Sheng,_Sheng,value);
				this._Sheng=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PONUBR,

			
			_.PayNo,

			
			_.REMOUT,

			
			_.REDATE,

			
			_.INSTAS,

			
			_.INVNUB,

			
			_.IAMOUT,

			
			_.INDATE,

			
			_.PERSON,

			
			_.ARAMOT,

			
			_.Sheng,

			
			_.REMARK,

			
			_.Adder,

			
			_.AddID,

			
			_.AddTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PONUBR,

			
			this._PayNo,

			
			this._REMOUT,

			
			this._REDATE,

			
			this._INSTAS,

			
			this._INVNUB,

			
			this._IAMOUT,

			
			this._INDATE,

			
			this._PERSON,

			
			this._ARAMOT,

			
			this._Sheng,

			
			this._REMARK,

			
			this._Adder,

			
			this._AddID,

			
			this._AddTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PONUBR = DataUtils.ConvertValue<string>(reader["PONUBR"]);
						this._PayNo = DataUtils.ConvertValue<string>(reader["PayNo"]);
						this._REMOUT = DataUtils.ConvertValue<decimal?>(reader["REMOUT"]);
						this._REDATE = DataUtils.ConvertValue<DateTime?>(reader["REDATE"]);
						this._INSTAS = DataUtils.ConvertValue<string>(reader["INSTAS"]);
						this._INVNUB = DataUtils.ConvertValue<string>(reader["INVNUB"]);
						this._IAMOUT = DataUtils.ConvertValue<decimal?>(reader["IAMOUT"]);
						this._INDATE = DataUtils.ConvertValue<DateTime?>(reader["INDATE"]);
						this._PERSON = DataUtils.ConvertValue<string>(reader["PERSON"]);
						this._ARAMOT = DataUtils.ConvertValue<decimal?>(reader["ARAMOT"]);
						this._Sheng = DataUtils.ConvertValue<decimal?>(reader["Sheng"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PONUBR = DataUtils.ConvertValue<string>(row["PONUBR"]);
					this._PayNo = DataUtils.ConvertValue<string>(row["PayNo"]);
					this._REMOUT = DataUtils.ConvertValue<decimal?>(row["REMOUT"]);
					this._REDATE = DataUtils.ConvertValue<DateTime?>(row["REDATE"]);
					this._INSTAS = DataUtils.ConvertValue<string>(row["INSTAS"]);
					this._INVNUB = DataUtils.ConvertValue<string>(row["INVNUB"]);
					this._IAMOUT = DataUtils.ConvertValue<decimal?>(row["IAMOUT"]);
					this._INDATE = DataUtils.ConvertValue<DateTime?>(row["INDATE"]);
					this._PERSON = DataUtils.ConvertValue<string>(row["PERSON"]);
					this._ARAMOT = DataUtils.ConvertValue<decimal?>(row["ARAMOT"]);
					this._Sheng = DataUtils.ConvertValue<decimal?>(row["Sheng"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Popayf");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Popayf","唯一标识");
					/// <summary>
			/// 采购订单编号
			/// </summary>
			public readonly static Field PONUBR = new Field("PONUBR","Proj_Popayf","采购订单编号");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PayNo = new Field("PayNo","Proj_Popayf","");
					/// <summary>
			/// 本行项目付款金额 
			/// </summary>
			public readonly static Field REMOUT = new Field("REMOUT","Proj_Popayf","本行项目付款金额 ");
					/// <summary>
			/// 付款日期
			/// </summary>
			public readonly static Field REDATE = new Field("REDATE","Proj_Popayf","付款日期");
					/// <summary>
			/// 发票状态
			/// </summary>
			public readonly static Field INSTAS = new Field("INSTAS","Proj_Popayf","发票状态");
					/// <summary>
			/// 发票号
			/// </summary>
			public readonly static Field INVNUB = new Field("INVNUB","Proj_Popayf","发票号");
					/// <summary>
			/// 发票金额 
			/// </summary>
			public readonly static Field IAMOUT = new Field("IAMOUT","Proj_Popayf","发票金额 ");
					/// <summary>
			/// 发票开票日期
			/// </summary>
			public readonly static Field INDATE = new Field("INDATE","Proj_Popayf","发票开票日期");
					/// <summary>
			/// 经手人
			/// </summary>
			public readonly static Field PERSON = new Field("PERSON","Proj_Popayf","经手人");
					/// <summary>
			/// 应付款金额
			/// </summary>
			public readonly static Field ARAMOT = new Field("ARAMOT","Proj_Popayf","应付款金额");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sheng = new Field("Sheng","Proj_Popayf","");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Popayf","备注说明");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Popayf","添加人");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Popayf","添加人ID");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Popayf","添加时间");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Rement
    /// <summary>
	/// 实体类Proj_Rement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Rement : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Rement 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Rement():base("Proj_Rement") {}

		#region Model

		
		private int _ID;
		
		private string _CONNUB;
		
		private decimal? _PAMOUT;
		
		private DateTime? _REDATE;
		
		private string _INVNUB;
		
		private decimal? _IAMOUT;
		
		private DateTime? _INDATE;
		
		private string _PERSON;
		
		private decimal? _ARAMOT;
		
		private string _REMARK;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _CONNAME;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 合同编号
		/// </summary>
		public string CONNUB
		{
			get{ return _CONNUB; }
			set
			{
				this.OnPropertyValueChange(_.CONNUB,_CONNUB,value);
				this._CONNUB=value;
			}
		}

		
		/// <summary>
		/// 本行项目收款金额
		/// </summary>
		public decimal? PAMOUT
		{
			get{ return _PAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.PAMOUT,_PAMOUT,value);
				this._PAMOUT=value;
			}
		}

		
		/// <summary>
		/// 收款日期
		/// </summary>
		public DateTime? REDATE
		{
			get{ return _REDATE; }
			set
			{
				this.OnPropertyValueChange(_.REDATE,_REDATE,value);
				this._REDATE=value;
			}
		}

		
		/// <summary>
		/// 发票号
		/// </summary>
		public string INVNUB
		{
			get{ return _INVNUB; }
			set
			{
				this.OnPropertyValueChange(_.INVNUB,_INVNUB,value);
				this._INVNUB=value;
			}
		}

		
		/// <summary>
		/// 开票金额
		/// </summary>
		public decimal? IAMOUT
		{
			get{ return _IAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.IAMOUT,_IAMOUT,value);
				this._IAMOUT=value;
			}
		}

		
		/// <summary>
		/// 开票日期
		/// </summary>
		public DateTime? INDATE
		{
			get{ return _INDATE; }
			set
			{
				this.OnPropertyValueChange(_.INDATE,_INDATE,value);
				this._INDATE=value;
			}
		}

		
		/// <summary>
		/// 经手人
		/// </summary>
		public string PERSON
		{
			get{ return _PERSON; }
			set
			{
				this.OnPropertyValueChange(_.PERSON,_PERSON,value);
				this._PERSON=value;
			}
		}

		
		/// <summary>
		/// 应收款金额
		/// </summary>
		public decimal? ARAMOT
		{
			get{ return _ARAMOT; }
			set
			{
				this.OnPropertyValueChange(_.ARAMOT,_ARAMOT,value);
				this._ARAMOT=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CONNAME
		{
			get{ return _CONNAME; }
			set
			{
				this.OnPropertyValueChange(_.CONNAME,_CONNAME,value);
				this._CONNAME=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.CONNUB,

			
			_.PAMOUT,

			
			_.REDATE,

			
			_.INVNUB,

			
			_.IAMOUT,

			
			_.INDATE,

			
			_.PERSON,

			
			_.ARAMOT,

			
			_.REMARK,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.CONNAME

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._CONNUB,

			
			this._PAMOUT,

			
			this._REDATE,

			
			this._INVNUB,

			
			this._IAMOUT,

			
			this._INDATE,

			
			this._PERSON,

			
			this._ARAMOT,

			
			this._REMARK,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._CONNAME

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._CONNUB = DataUtils.ConvertValue<string>(reader["CONNUB"]);
						this._PAMOUT = DataUtils.ConvertValue<decimal?>(reader["PAMOUT"]);
						this._REDATE = DataUtils.ConvertValue<DateTime?>(reader["REDATE"]);
						this._INVNUB = DataUtils.ConvertValue<string>(reader["INVNUB"]);
						this._IAMOUT = DataUtils.ConvertValue<decimal?>(reader["IAMOUT"]);
						this._INDATE = DataUtils.ConvertValue<DateTime?>(reader["INDATE"]);
						this._PERSON = DataUtils.ConvertValue<string>(reader["PERSON"]);
						this._ARAMOT = DataUtils.ConvertValue<decimal?>(reader["ARAMOT"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._CONNAME = DataUtils.ConvertValue<string>(reader["CONNAME"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._CONNUB = DataUtils.ConvertValue<string>(row["CONNUB"]);
					this._PAMOUT = DataUtils.ConvertValue<decimal?>(row["PAMOUT"]);
					this._REDATE = DataUtils.ConvertValue<DateTime?>(row["REDATE"]);
					this._INVNUB = DataUtils.ConvertValue<string>(row["INVNUB"]);
					this._IAMOUT = DataUtils.ConvertValue<decimal?>(row["IAMOUT"]);
					this._INDATE = DataUtils.ConvertValue<DateTime?>(row["INDATE"]);
					this._PERSON = DataUtils.ConvertValue<string>(row["PERSON"]);
					this._ARAMOT = DataUtils.ConvertValue<decimal?>(row["ARAMOT"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._CONNAME = DataUtils.ConvertValue<string>(row["CONNAME"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Rement");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Rement","唯一标识");
					/// <summary>
			/// 合同编号
			/// </summary>
			public readonly static Field CONNUB = new Field("CONNUB","Proj_Rement","合同编号");
					/// <summary>
			/// 本行项目收款金额
			/// </summary>
			public readonly static Field PAMOUT = new Field("PAMOUT","Proj_Rement","本行项目收款金额");
					/// <summary>
			/// 收款日期
			/// </summary>
			public readonly static Field REDATE = new Field("REDATE","Proj_Rement","收款日期");
					/// <summary>
			/// 发票号
			/// </summary>
			public readonly static Field INVNUB = new Field("INVNUB","Proj_Rement","发票号");
					/// <summary>
			/// 开票金额
			/// </summary>
			public readonly static Field IAMOUT = new Field("IAMOUT","Proj_Rement","开票金额");
					/// <summary>
			/// 开票日期
			/// </summary>
			public readonly static Field INDATE = new Field("INDATE","Proj_Rement","开票日期");
					/// <summary>
			/// 经手人
			/// </summary>
			public readonly static Field PERSON = new Field("PERSON","Proj_Rement","经手人");
					/// <summary>
			/// 应收款金额
			/// </summary>
			public readonly static Field ARAMOT = new Field("ARAMOT","Proj_Rement","应收款金额");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Rement","备注说明");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Rement","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Rement","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Rement","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CONNAME = new Field("CONNAME","Proj_Rement","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Sample
    /// <summary>
	/// 实体类Proj_Sample 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Sample : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Sample 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Sample():base("Proj_Sample") {}

		#region Model

		
		private int _ID;
		
		private string _PRJNUB;
		
		private string _REQTOR;
		
		private decimal? _AMOUNT;
		
		private string _REMARK;
		
		private int? _STATUS;
		
		private string _MoneyType;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 项目编号
		/// </summary>
		public string PRJNUB
		{
			get{ return _PRJNUB; }
			set
			{
				this.OnPropertyValueChange(_.PRJNUB,_PRJNUB,value);
				this._PRJNUB=value;
			}
		}

		
		/// <summary>
		/// 申请者
		/// </summary>
		public string REQTOR
		{
			get{ return _REQTOR; }
			set
			{
				this.OnPropertyValueChange(_.REQTOR,_REQTOR,value);
				this._REQTOR=value;
			}
		}

		
		/// <summary>
		/// 费用金额
		/// </summary>
		public decimal? AMOUNT
		{
			get{ return _AMOUNT; }
			set
			{
				this.OnPropertyValueChange(_.AMOUNT,_AMOUNT,value);
				this._AMOUNT=value;
			}
		}

		
		/// <summary>
		/// 费用说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public int? STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MoneyType
		{
			get{ return _MoneyType; }
			set
			{
				this.OnPropertyValueChange(_.MoneyType,_MoneyType,value);
				this._MoneyType=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PRJNUB,

			
			_.REQTOR,

			
			_.AMOUNT,

			
			_.REMARK,

			
			_.STATUS,

			
			_.MoneyType,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PRJNUB,

			
			this._REQTOR,

			
			this._AMOUNT,

			
			this._REMARK,

			
			this._STATUS,

			
			this._MoneyType,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PRJNUB = DataUtils.ConvertValue<string>(reader["PRJNUB"]);
						this._REQTOR = DataUtils.ConvertValue<string>(reader["REQTOR"]);
						this._AMOUNT = DataUtils.ConvertValue<decimal?>(reader["AMOUNT"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._STATUS = DataUtils.ConvertValue<int?>(reader["STATUS"]);
						this._MoneyType = DataUtils.ConvertValue<string>(reader["MoneyType"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PRJNUB = DataUtils.ConvertValue<string>(row["PRJNUB"]);
					this._REQTOR = DataUtils.ConvertValue<string>(row["REQTOR"]);
					this._AMOUNT = DataUtils.ConvertValue<decimal?>(row["AMOUNT"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._STATUS = DataUtils.ConvertValue<int?>(row["STATUS"]);
					this._MoneyType = DataUtils.ConvertValue<string>(row["MoneyType"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Sample");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Sample","唯一标识");
					/// <summary>
			/// 项目编号
			/// </summary>
			public readonly static Field PRJNUB = new Field("PRJNUB","Proj_Sample","项目编号");
					/// <summary>
			/// 申请者
			/// </summary>
			public readonly static Field REQTOR = new Field("REQTOR","Proj_Sample","申请者");
					/// <summary>
			/// 费用金额
			/// </summary>
			public readonly static Field AMOUNT = new Field("AMOUNT","Proj_Sample","费用金额");
					/// <summary>
			/// 费用说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Proj_Sample","费用说明");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Proj_Sample","状态");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MoneyType = new Field("MoneyType","Proj_Sample","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Sample","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Sample","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Sample","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Task
    /// <summary>
	/// 实体类Proj_Task 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Task : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Task 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Task():base("Proj_Task") {}

		#region Model

		
		private int _ID;
		
		private string _Proj_NO;
		
		private string _Proj_Name;
		
		private int? _Proj_Type;
		
		private string _Task_Organiser;
		
		private int? _Task_OrganiserID;
		
		private string _Task_Implement;
		
		private int? _Task_ImplementID;
		
		private DateTime? _Plan_FinishTime;
		
		private DateTime? _Reality_FinishTime;
		
		private string _Contents;
		
		private int? _Task_State;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _Memo;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 项目ID
		/// </summary>
		public string Proj_NO
		{
			get{ return _Proj_NO; }
			set
			{
				this.OnPropertyValueChange(_.Proj_NO,_Proj_NO,value);
				this._Proj_NO=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Proj_Name
		{
			get{ return _Proj_Name; }
			set
			{
				this.OnPropertyValueChange(_.Proj_Name,_Proj_Name,value);
				this._Proj_Name=value;
			}
		}

		
		/// <summary>
		/// 项目类型
		/// </summary>
		public int? Proj_Type
		{
			get{ return _Proj_Type; }
			set
			{
				this.OnPropertyValueChange(_.Proj_Type,_Proj_Type,value);
				this._Proj_Type=value;
			}
		}

		
		/// <summary>
		/// 任务发起者
		/// </summary>
		public string Task_Organiser
		{
			get{ return _Task_Organiser; }
			set
			{
				this.OnPropertyValueChange(_.Task_Organiser,_Task_Organiser,value);
				this._Task_Organiser=value;
			}
		}

		
		/// <summary>
		/// 任务发起者
		/// </summary>
		public int? Task_OrganiserID
		{
			get{ return _Task_OrganiserID; }
			set
			{
				this.OnPropertyValueChange(_.Task_OrganiserID,_Task_OrganiserID,value);
				this._Task_OrganiserID=value;
			}
		}

		
		/// <summary>
		/// 任务执行者
		/// </summary>
		public string Task_Implement
		{
			get{ return _Task_Implement; }
			set
			{
				this.OnPropertyValueChange(_.Task_Implement,_Task_Implement,value);
				this._Task_Implement=value;
			}
		}

		
		/// <summary>
		/// 任务执行者
		/// </summary>
		public int? Task_ImplementID
		{
			get{ return _Task_ImplementID; }
			set
			{
				this.OnPropertyValueChange(_.Task_ImplementID,_Task_ImplementID,value);
				this._Task_ImplementID=value;
			}
		}

		
		/// <summary>
		/// 计划完成时间
		/// </summary>
		public DateTime? Plan_FinishTime
		{
			get{ return _Plan_FinishTime; }
			set
			{
				this.OnPropertyValueChange(_.Plan_FinishTime,_Plan_FinishTime,value);
				this._Plan_FinishTime=value;
			}
		}

		
		/// <summary>
		/// 实际完成时间
		/// </summary>
		public DateTime? Reality_FinishTime
		{
			get{ return _Reality_FinishTime; }
			set
			{
				this.OnPropertyValueChange(_.Reality_FinishTime,_Reality_FinishTime,value);
				this._Reality_FinishTime=value;
			}
		}

		
		/// <summary>
		/// 任务说明
		/// </summary>
		public string Contents
		{
			get{ return _Contents; }
			set
			{
				this.OnPropertyValueChange(_.Contents,_Contents,value);
				this._Contents=value;
			}
		}

		
		/// <summary>
		/// 任务状态
		/// </summary>
		public int? Task_State
		{
			get{ return _Task_State; }
			set
			{
				this.OnPropertyValueChange(_.Task_State,_Task_State,value);
				this._Task_State=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memo
		{
			get{ return _Memo; }
			set
			{
				this.OnPropertyValueChange(_.Memo,_Memo,value);
				this._Memo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Proj_NO,

			
			_.Proj_Name,

			
			_.Proj_Type,

			
			_.Task_Organiser,

			
			_.Task_OrganiserID,

			
			_.Task_Implement,

			
			_.Task_ImplementID,

			
			_.Plan_FinishTime,

			
			_.Reality_FinishTime,

			
			_.Contents,

			
			_.Task_State,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.Memo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Proj_NO,

			
			this._Proj_Name,

			
			this._Proj_Type,

			
			this._Task_Organiser,

			
			this._Task_OrganiserID,

			
			this._Task_Implement,

			
			this._Task_ImplementID,

			
			this._Plan_FinishTime,

			
			this._Reality_FinishTime,

			
			this._Contents,

			
			this._Task_State,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._Memo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Proj_NO = DataUtils.ConvertValue<string>(reader["Proj_NO"]);
						this._Proj_Name = DataUtils.ConvertValue<string>(reader["Proj_Name"]);
						this._Proj_Type = DataUtils.ConvertValue<int?>(reader["Proj_Type"]);
						this._Task_Organiser = DataUtils.ConvertValue<string>(reader["Task_Organiser"]);
						this._Task_OrganiserID = DataUtils.ConvertValue<int?>(reader["Task_OrganiserID"]);
						this._Task_Implement = DataUtils.ConvertValue<string>(reader["Task_Implement"]);
						this._Task_ImplementID = DataUtils.ConvertValue<int?>(reader["Task_ImplementID"]);
						this._Plan_FinishTime = DataUtils.ConvertValue<DateTime?>(reader["Plan_FinishTime"]);
						this._Reality_FinishTime = DataUtils.ConvertValue<DateTime?>(reader["Reality_FinishTime"]);
						this._Contents = DataUtils.ConvertValue<string>(reader["Contents"]);
						this._Task_State = DataUtils.ConvertValue<int?>(reader["Task_State"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Memo = DataUtils.ConvertValue<string>(reader["Memo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Proj_NO = DataUtils.ConvertValue<string>(row["Proj_NO"]);
					this._Proj_Name = DataUtils.ConvertValue<string>(row["Proj_Name"]);
					this._Proj_Type = DataUtils.ConvertValue<int?>(row["Proj_Type"]);
					this._Task_Organiser = DataUtils.ConvertValue<string>(row["Task_Organiser"]);
					this._Task_OrganiserID = DataUtils.ConvertValue<int?>(row["Task_OrganiserID"]);
					this._Task_Implement = DataUtils.ConvertValue<string>(row["Task_Implement"]);
					this._Task_ImplementID = DataUtils.ConvertValue<int?>(row["Task_ImplementID"]);
					this._Plan_FinishTime = DataUtils.ConvertValue<DateTime?>(row["Plan_FinishTime"]);
					this._Reality_FinishTime = DataUtils.ConvertValue<DateTime?>(row["Reality_FinishTime"]);
					this._Contents = DataUtils.ConvertValue<string>(row["Contents"]);
					this._Task_State = DataUtils.ConvertValue<int?>(row["Task_State"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Memo = DataUtils.ConvertValue<string>(row["Memo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Task");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Task","唯一标识");
					/// <summary>
			/// 项目ID
			/// </summary>
			public readonly static Field Proj_NO = new Field("Proj_NO","Proj_Task","项目ID");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Proj_Name = new Field("Proj_Name","Proj_Task","");
					/// <summary>
			/// 项目类型
			/// </summary>
			public readonly static Field Proj_Type = new Field("Proj_Type","Proj_Task","项目类型");
					/// <summary>
			/// 任务发起者
			/// </summary>
			public readonly static Field Task_Organiser = new Field("Task_Organiser","Proj_Task","任务发起者");
					/// <summary>
			/// 任务发起者
			/// </summary>
			public readonly static Field Task_OrganiserID = new Field("Task_OrganiserID","Proj_Task","任务发起者");
					/// <summary>
			/// 任务执行者
			/// </summary>
			public readonly static Field Task_Implement = new Field("Task_Implement","Proj_Task","任务执行者");
					/// <summary>
			/// 任务执行者
			/// </summary>
			public readonly static Field Task_ImplementID = new Field("Task_ImplementID","Proj_Task","任务执行者");
					/// <summary>
			/// 计划完成时间
			/// </summary>
			public readonly static Field Plan_FinishTime = new Field("Plan_FinishTime","Proj_Task","计划完成时间");
					/// <summary>
			/// 实际完成时间
			/// </summary>
			public readonly static Field Reality_FinishTime = new Field("Reality_FinishTime","Proj_Task","实际完成时间");
					/// <summary>
			/// 任务说明
			/// </summary>
			public readonly static Field Contents = new Field("Contents","Proj_Task","任务说明");
					/// <summary>
			/// 任务状态
			/// </summary>
			public readonly static Field Task_State = new Field("Task_State","Proj_Task","任务状态");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Task","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Task","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Task","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memo = new Field("Memo","Proj_Task","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Proj_Vendor
    /// <summary>
	/// 实体类Proj_Vendor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Proj_Vendor : Entity 
	{
	 /// <summary>
	/// 实体类Proj_Vendor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Proj_Vendor():base("Proj_Vendor") {}

		#region Model

		
		private int _ID;
		
		private string _VEDNUB;
		
		private string _VDTYPE;
		
		private string _DEPTON;
		
		private string _ADDRES;
		
		private string _BAKNAM;
		
		private string _BAKNUB;
		
		private string _TAXNUB;
		
		private string _CONTAT;
		
		private string _TELPHO;
		
		private string _ElseTel;
		
		private string _UEMAIL;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _ATTACH;
		
		private string _EasyName;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 供应商编号
		/// </summary>
		public string VEDNUB
		{
			get{ return _VEDNUB; }
			set
			{
				this.OnPropertyValueChange(_.VEDNUB,_VEDNUB,value);
				this._VEDNUB=value;
			}
		}

		
		/// <summary>
		/// 供应商类型
		/// </summary>
		public string VDTYPE
		{
			get{ return _VDTYPE; }
			set
			{
				this.OnPropertyValueChange(_.VDTYPE,_VDTYPE,value);
				this._VDTYPE=value;
			}
		}

		
		/// <summary>
		/// 名称描述
		/// </summary>
		public string DEPTON
		{
			get{ return _DEPTON; }
			set
			{
				this.OnPropertyValueChange(_.DEPTON,_DEPTON,value);
				this._DEPTON=value;
			}
		}

		
		/// <summary>
		/// 地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 开户行
		/// </summary>
		public string BAKNAM
		{
			get{ return _BAKNAM; }
			set
			{
				this.OnPropertyValueChange(_.BAKNAM,_BAKNAM,value);
				this._BAKNAM=value;
			}
		}

		
		/// <summary>
		/// 开户行账号
		/// </summary>
		public string BAKNUB
		{
			get{ return _BAKNUB; }
			set
			{
				this.OnPropertyValueChange(_.BAKNUB,_BAKNUB,value);
				this._BAKNUB=value;
			}
		}

		
		/// <summary>
		/// 税务登记号
		/// </summary>
		public string TAXNUB
		{
			get{ return _TAXNUB; }
			set
			{
				this.OnPropertyValueChange(_.TAXNUB,_TAXNUB,value);
				this._TAXNUB=value;
			}
		}

		
		/// <summary>
		/// 联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 联系电话
		/// </summary>
		public string TELPHO
		{
			get{ return _TELPHO; }
			set
			{
				this.OnPropertyValueChange(_.TELPHO,_TELPHO,value);
				this._TELPHO=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ElseTel
		{
			get{ return _ElseTel; }
			set
			{
				this.OnPropertyValueChange(_.ElseTel,_ElseTel,value);
				this._ElseTel=value;
			}
		}

		
		/// <summary>
		/// 邮箱
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 添加人ID
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 添加人
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ATTACH
		{
			get{ return _ATTACH; }
			set
			{
				this.OnPropertyValueChange(_.ATTACH,_ATTACH,value);
				this._ATTACH=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EasyName
		{
			get{ return _EasyName; }
			set
			{
				this.OnPropertyValueChange(_.EasyName,_EasyName,value);
				this._EasyName=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.VEDNUB,

			
			_.VDTYPE,

			
			_.DEPTON,

			
			_.ADDRES,

			
			_.BAKNAM,

			
			_.BAKNUB,

			
			_.TAXNUB,

			
			_.CONTAT,

			
			_.TELPHO,

			
			_.ElseTel,

			
			_.UEMAIL,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.ATTACH,

			
			_.EasyName

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._VEDNUB,

			
			this._VDTYPE,

			
			this._DEPTON,

			
			this._ADDRES,

			
			this._BAKNAM,

			
			this._BAKNUB,

			
			this._TAXNUB,

			
			this._CONTAT,

			
			this._TELPHO,

			
			this._ElseTel,

			
			this._UEMAIL,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._ATTACH,

			
			this._EasyName

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._VEDNUB = DataUtils.ConvertValue<string>(reader["VEDNUB"]);
						this._VDTYPE = DataUtils.ConvertValue<string>(reader["VDTYPE"]);
						this._DEPTON = DataUtils.ConvertValue<string>(reader["DEPTON"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._BAKNAM = DataUtils.ConvertValue<string>(reader["BAKNAM"]);
						this._BAKNUB = DataUtils.ConvertValue<string>(reader["BAKNUB"]);
						this._TAXNUB = DataUtils.ConvertValue<string>(reader["TAXNUB"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._TELPHO = DataUtils.ConvertValue<string>(reader["TELPHO"]);
						this._ElseTel = DataUtils.ConvertValue<string>(reader["ElseTel"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._ATTACH = DataUtils.ConvertValue<string>(reader["ATTACH"]);
						this._EasyName = DataUtils.ConvertValue<string>(reader["EasyName"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._VEDNUB = DataUtils.ConvertValue<string>(row["VEDNUB"]);
					this._VDTYPE = DataUtils.ConvertValue<string>(row["VDTYPE"]);
					this._DEPTON = DataUtils.ConvertValue<string>(row["DEPTON"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._BAKNAM = DataUtils.ConvertValue<string>(row["BAKNAM"]);
					this._BAKNUB = DataUtils.ConvertValue<string>(row["BAKNUB"]);
					this._TAXNUB = DataUtils.ConvertValue<string>(row["TAXNUB"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._TELPHO = DataUtils.ConvertValue<string>(row["TELPHO"]);
					this._ElseTel = DataUtils.ConvertValue<string>(row["ElseTel"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._ATTACH = DataUtils.ConvertValue<string>(row["ATTACH"]);
					this._EasyName = DataUtils.ConvertValue<string>(row["EasyName"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Proj_Vendor");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Proj_Vendor","唯一标识");
					/// <summary>
			/// 供应商编号
			/// </summary>
			public readonly static Field VEDNUB = new Field("VEDNUB","Proj_Vendor","供应商编号");
					/// <summary>
			/// 供应商类型
			/// </summary>
			public readonly static Field VDTYPE = new Field("VDTYPE","Proj_Vendor","供应商类型");
					/// <summary>
			/// 名称描述
			/// </summary>
			public readonly static Field DEPTON = new Field("DEPTON","Proj_Vendor","名称描述");
					/// <summary>
			/// 地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Proj_Vendor","地址");
					/// <summary>
			/// 开户行
			/// </summary>
			public readonly static Field BAKNAM = new Field("BAKNAM","Proj_Vendor","开户行");
					/// <summary>
			/// 开户行账号
			/// </summary>
			public readonly static Field BAKNUB = new Field("BAKNUB","Proj_Vendor","开户行账号");
					/// <summary>
			/// 税务登记号
			/// </summary>
			public readonly static Field TAXNUB = new Field("TAXNUB","Proj_Vendor","税务登记号");
					/// <summary>
			/// 联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","Proj_Vendor","联系人");
					/// <summary>
			/// 联系电话
			/// </summary>
			public readonly static Field TELPHO = new Field("TELPHO","Proj_Vendor","联系电话");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElseTel = new Field("ElseTel","Proj_Vendor","");
					/// <summary>
			/// 邮箱
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","Proj_Vendor","邮箱");
					/// <summary>
			/// 添加人ID
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Proj_Vendor","添加人ID");
					/// <summary>
			/// 添加人
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Proj_Vendor","添加人");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Proj_Vendor","添加时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ATTACH = new Field("ATTACH","Proj_Vendor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EasyName = new Field("EasyName","Proj_Vendor","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sale_MACTIVITY
    /// <summary>
	/// 实体类Sale_MACTIVITY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sale_MACTIVITY : Entity 
	{
	 /// <summary>
	/// 实体类Sale_MACTIVITY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sale_MACTIVITY():base("Sale_MACTIVITY") {}

		#region Model

		
		private int _MVID;
		
		private string _ASUBJECT;
		
		private string _DESCRIBE;
		
		private string _ADDRES;
		
		private string _BADGET;
		
		private string _SPEND;
		
		private DateTime? _SDATE;
		
		private DateTime? _EDATE;
		
		private string _CONTAT;
		
		private string _COTELNUB;
		
		private string _RECORD;
		
		private string _SUMMARY;
		
		private string _STATUS;
		
		private string _REMARK;
		
		private string _ANNEX;
		
		/// <summary>
		/// 活动编号
		/// </summary>
		public int MVID
		{
			get{ return _MVID; }
			set
			{
				this.OnPropertyValueChange(_.MVID,_MVID,value);
				this._MVID=value;
			}
		}

		
		/// <summary>
		/// 活动主题
		/// </summary>
		public string ASUBJECT
		{
			get{ return _ASUBJECT; }
			set
			{
				this.OnPropertyValueChange(_.ASUBJECT,_ASUBJECT,value);
				this._ASUBJECT=value;
			}
		}

		
		/// <summary>
		/// 详细描述
		/// </summary>
		public string DESCRIBE
		{
			get{ return _DESCRIBE; }
			set
			{
				this.OnPropertyValueChange(_.DESCRIBE,_DESCRIBE,value);
				this._DESCRIBE=value;
			}
		}

		
		/// <summary>
		/// 地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 预算
		/// </summary>
		public string BADGET
		{
			get{ return _BADGET; }
			set
			{
				this.OnPropertyValueChange(_.BADGET,_BADGET,value);
				this._BADGET=value;
			}
		}

		
		/// <summary>
		/// 实际花费
		/// </summary>
		public string SPEND
		{
			get{ return _SPEND; }
			set
			{
				this.OnPropertyValueChange(_.SPEND,_SPEND,value);
				this._SPEND=value;
			}
		}

		
		/// <summary>
		/// 活动开始时间
		/// </summary>
		public DateTime? SDATE
		{
			get{ return _SDATE; }
			set
			{
				this.OnPropertyValueChange(_.SDATE,_SDATE,value);
				this._SDATE=value;
			}
		}

		
		/// <summary>
		/// 活动结束时间
		/// </summary>
		public DateTime? EDATE
		{
			get{ return _EDATE; }
			set
			{
				this.OnPropertyValueChange(_.EDATE,_EDATE,value);
				this._EDATE=value;
			}
		}

		
		/// <summary>
		/// 负责人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 电话
		/// </summary>
		public string COTELNUB
		{
			get{ return _COTELNUB; }
			set
			{
				this.OnPropertyValueChange(_.COTELNUB,_COTELNUB,value);
				this._COTELNUB=value;
			}
		}

		
		/// <summary>
		/// 活动记录
		/// </summary>
		public string RECORD
		{
			get{ return _RECORD; }
			set
			{
				this.OnPropertyValueChange(_.RECORD,_RECORD,value);
				this._RECORD=value;
			}
		}

		
		/// <summary>
		/// 活动总结
		/// </summary>
		public string SUMMARY
		{
			get{ return _SUMMARY; }
			set
			{
				this.OnPropertyValueChange(_.SUMMARY,_SUMMARY,value);
				this._SUMMARY=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public string STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 附件
		/// </summary>
		public string ANNEX
		{
			get{ return _ANNEX; }
			set
			{
				this.OnPropertyValueChange(_.ANNEX,_ANNEX,value);
				this._ANNEX=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.MVID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.MVID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.MVID,

			
			_.ASUBJECT,

			
			_.DESCRIBE,

			
			_.ADDRES,

			
			_.BADGET,

			
			_.SPEND,

			
			_.SDATE,

			
			_.EDATE,

			
			_.CONTAT,

			
			_.COTELNUB,

			
			_.RECORD,

			
			_.SUMMARY,

			
			_.STATUS,

			
			_.REMARK,

			
			_.ANNEX

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._MVID,

			
			this._ASUBJECT,

			
			this._DESCRIBE,

			
			this._ADDRES,

			
			this._BADGET,

			
			this._SPEND,

			
			this._SDATE,

			
			this._EDATE,

			
			this._CONTAT,

			
			this._COTELNUB,

			
			this._RECORD,

			
			this._SUMMARY,

			
			this._STATUS,

			
			this._REMARK,

			
			this._ANNEX

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._MVID = DataUtils.ConvertValue<int>(reader["MVID"]);
						this._ASUBJECT = DataUtils.ConvertValue<string>(reader["ASUBJECT"]);
						this._DESCRIBE = DataUtils.ConvertValue<string>(reader["DESCRIBE"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._BADGET = DataUtils.ConvertValue<string>(reader["BADGET"]);
						this._SPEND = DataUtils.ConvertValue<string>(reader["SPEND"]);
						this._SDATE = DataUtils.ConvertValue<DateTime?>(reader["SDATE"]);
						this._EDATE = DataUtils.ConvertValue<DateTime?>(reader["EDATE"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._COTELNUB = DataUtils.ConvertValue<string>(reader["COTELNUB"]);
						this._RECORD = DataUtils.ConvertValue<string>(reader["RECORD"]);
						this._SUMMARY = DataUtils.ConvertValue<string>(reader["SUMMARY"]);
						this._STATUS = DataUtils.ConvertValue<string>(reader["STATUS"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._ANNEX = DataUtils.ConvertValue<string>(reader["ANNEX"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._MVID = DataUtils.ConvertValue<int>(row["MVID"]);
					this._ASUBJECT = DataUtils.ConvertValue<string>(row["ASUBJECT"]);
					this._DESCRIBE = DataUtils.ConvertValue<string>(row["DESCRIBE"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._BADGET = DataUtils.ConvertValue<string>(row["BADGET"]);
					this._SPEND = DataUtils.ConvertValue<string>(row["SPEND"]);
					this._SDATE = DataUtils.ConvertValue<DateTime?>(row["SDATE"]);
					this._EDATE = DataUtils.ConvertValue<DateTime?>(row["EDATE"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._COTELNUB = DataUtils.ConvertValue<string>(row["COTELNUB"]);
					this._RECORD = DataUtils.ConvertValue<string>(row["RECORD"]);
					this._SUMMARY = DataUtils.ConvertValue<string>(row["SUMMARY"]);
					this._STATUS = DataUtils.ConvertValue<string>(row["STATUS"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._ANNEX = DataUtils.ConvertValue<string>(row["ANNEX"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sale_MACTIVITY");
				/// <summary>
			/// 活动编号
			/// </summary>
			public readonly static Field MVID = new Field("MVID","Sale_MACTIVITY","活动编号");
					/// <summary>
			/// 活动主题
			/// </summary>
			public readonly static Field ASUBJECT = new Field("ASUBJECT","Sale_MACTIVITY","活动主题");
					/// <summary>
			/// 详细描述
			/// </summary>
			public readonly static Field DESCRIBE = new Field("DESCRIBE","Sale_MACTIVITY","详细描述");
					/// <summary>
			/// 地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Sale_MACTIVITY","地址");
					/// <summary>
			/// 预算
			/// </summary>
			public readonly static Field BADGET = new Field("BADGET","Sale_MACTIVITY","预算");
					/// <summary>
			/// 实际花费
			/// </summary>
			public readonly static Field SPEND = new Field("SPEND","Sale_MACTIVITY","实际花费");
					/// <summary>
			/// 活动开始时间
			/// </summary>
			public readonly static Field SDATE = new Field("SDATE","Sale_MACTIVITY","活动开始时间");
					/// <summary>
			/// 活动结束时间
			/// </summary>
			public readonly static Field EDATE = new Field("EDATE","Sale_MACTIVITY","活动结束时间");
					/// <summary>
			/// 负责人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","Sale_MACTIVITY","负责人");
					/// <summary>
			/// 电话
			/// </summary>
			public readonly static Field COTELNUB = new Field("COTELNUB","Sale_MACTIVITY","电话");
					/// <summary>
			/// 活动记录
			/// </summary>
			public readonly static Field RECORD = new Field("RECORD","Sale_MACTIVITY","活动记录");
					/// <summary>
			/// 活动总结
			/// </summary>
			public readonly static Field SUMMARY = new Field("SUMMARY","Sale_MACTIVITY","活动总结");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Sale_MACTIVITY","状态");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Sale_MACTIVITY","备注说明");
					/// <summary>
			/// 附件
			/// </summary>
			public readonly static Field ANNEX = new Field("ANNEX","Sale_MACTIVITY","附件");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sale_REMINDSTR
    /// <summary>
	/// 实体类Sale_REMINDSTR 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sale_REMINDSTR : Entity 
	{
	 /// <summary>
	/// 实体类Sale_REMINDSTR 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sale_REMINDSTR():base("Sale_REMINDSTR") {}

		#region Model

		
		private int _REID;
		
		private DateTime? _DTIME;
		
		private string _CUTYPE_TH;
		
		private string _CRPER;
		
		private int? _CRPID;
		
		private bool? _IsUser;
		
		/// <summary>
		/// 拜访策略编号
		/// </summary>
		public int REID
		{
			get{ return _REID; }
			set
			{
				this.OnPropertyValueChange(_.REID,_REID,value);
				this._REID=value;
			}
		}

		
		/// <summary>
		/// 时间
		/// </summary>
		public DateTime? DTIME
		{
			get{ return _DTIME; }
			set
			{
				this.OnPropertyValueChange(_.DTIME,_DTIME,value);
				this._DTIME=value;
			}
		}

		
		/// <summary>
		/// 客户类型
		/// </summary>
		public string CUTYPE_TH
		{
			get{ return _CUTYPE_TH; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_TH,_CUTYPE_TH,value);
				this._CUTYPE_TH=value;
			}
		}

		
		/// <summary>
		/// 创建人
		/// </summary>
		public string CRPER
		{
			get{ return _CRPER; }
			set
			{
				this.OnPropertyValueChange(_.CRPER,_CRPER,value);
				this._CRPER=value;
			}
		}

		
		/// <summary>
		/// 创建人ID
		/// </summary>
		public int? CRPID
		{
			get{ return _CRPID; }
			set
			{
				this.OnPropertyValueChange(_.CRPID,_CRPID,value);
				this._CRPID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsUser
		{
			get{ return _IsUser; }
			set
			{
				this.OnPropertyValueChange(_.IsUser,_IsUser,value);
				this._IsUser=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.REID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.REID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.REID,

			
			_.DTIME,

			
			_.CUTYPE_TH,

			
			_.CRPER,

			
			_.CRPID,

			
			_.IsUser

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._REID,

			
			this._DTIME,

			
			this._CUTYPE_TH,

			
			this._CRPER,

			
			this._CRPID,

			
			this._IsUser

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._REID = DataUtils.ConvertValue<int>(reader["REID"]);
						this._DTIME = DataUtils.ConvertValue<DateTime?>(reader["DTIME"]);
						this._CUTYPE_TH = DataUtils.ConvertValue<string>(reader["CUTYPE_TH"]);
						this._CRPER = DataUtils.ConvertValue<string>(reader["CRPER"]);
						this._CRPID = DataUtils.ConvertValue<int?>(reader["CRPID"]);
						this._IsUser = DataUtils.ConvertValue<bool?>(reader["IsUser"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._REID = DataUtils.ConvertValue<int>(row["REID"]);
					this._DTIME = DataUtils.ConvertValue<DateTime?>(row["DTIME"]);
					this._CUTYPE_TH = DataUtils.ConvertValue<string>(row["CUTYPE_TH"]);
					this._CRPER = DataUtils.ConvertValue<string>(row["CRPER"]);
					this._CRPID = DataUtils.ConvertValue<int?>(row["CRPID"]);
					this._IsUser = DataUtils.ConvertValue<bool?>(row["IsUser"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sale_REMINDSTR");
				/// <summary>
			/// 拜访策略编号
			/// </summary>
			public readonly static Field REID = new Field("REID","Sale_REMINDSTR","拜访策略编号");
					/// <summary>
			/// 时间
			/// </summary>
			public readonly static Field DTIME = new Field("DTIME","Sale_REMINDSTR","时间");
					/// <summary>
			/// 客户类型
			/// </summary>
			public readonly static Field CUTYPE_TH = new Field("CUTYPE_TH","Sale_REMINDSTR","客户类型");
					/// <summary>
			/// 创建人
			/// </summary>
			public readonly static Field CRPER = new Field("CRPER","Sale_REMINDSTR","创建人");
					/// <summary>
			/// 创建人ID
			/// </summary>
			public readonly static Field CRPID = new Field("CRPID","Sale_REMINDSTR","创建人ID");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsUser = new Field("IsUser","Sale_REMINDSTR","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sale_VPlant
    /// <summary>
	/// 实体类Sale_VPlant 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sale_VPlant : Entity 
	{
	 /// <summary>
	/// 实体类Sale_VPlant 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sale_VPlant():base("Sale_VPlant") {}

		#region Model

		
		private int _ID;
		
		private string _VPID;
		
		private string _CUTNUB;
		
		private string _CUTNAM;
		
		private string _CONTAT;
		
		private string _POSITION;
		
		private string _VITYPE;
		
		private string _VIPERSON;
		
		private string _ADDRES;
		
		private string _OBJECTIVE;
		
		private string _SURVRY;
		
		private string _VCONTEBT;
		
		private DateTime? _DATE;
		
		private DateTime? _STIME;
		
		private DateTime? _ETIME;
		
		private string _TELNUB;
		
		private string _STATUS;
		
		private string _REMARK;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 拜访编号
		/// </summary>
		public string VPID
		{
			get{ return _VPID; }
			set
			{
				this.OnPropertyValueChange(_.VPID,_VPID,value);
				this._VPID=value;
			}
		}

		
		/// <summary>
		/// 拜访客户编号
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 拜访客户公司名称
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 客户公司联系人
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 客户业界地位
		/// </summary>
		public string POSITION
		{
			get{ return _POSITION; }
			set
			{
				this.OnPropertyValueChange(_.POSITION,_POSITION,value);
				this._POSITION=value;
			}
		}

		
		/// <summary>
		/// 拜访类型
		/// </summary>
		public string VITYPE
		{
			get{ return _VITYPE; }
			set
			{
				this.OnPropertyValueChange(_.VITYPE,_VITYPE,value);
				this._VITYPE=value;
			}
		}

		
		/// <summary>
		/// 拜访人员
		/// </summary>
		public string VIPERSON
		{
			get{ return _VIPERSON; }
			set
			{
				this.OnPropertyValueChange(_.VIPERSON,_VIPERSON,value);
				this._VIPERSON=value;
			}
		}

		
		/// <summary>
		/// 拜访地址
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 拜访目的
		/// </summary>
		public string OBJECTIVE
		{
			get{ return _OBJECTIVE; }
			set
			{
				this.OnPropertyValueChange(_.OBJECTIVE,_OBJECTIVE,value);
				this._OBJECTIVE=value;
			}
		}

		
		/// <summary>
		/// 客户公司概况
		/// </summary>
		public string SURVRY
		{
			get{ return _SURVRY; }
			set
			{
				this.OnPropertyValueChange(_.SURVRY,_SURVRY,value);
				this._SURVRY=value;
			}
		}

		
		/// <summary>
		/// 拜访详情
		/// </summary>
		public string VCONTEBT
		{
			get{ return _VCONTEBT; }
			set
			{
				this.OnPropertyValueChange(_.VCONTEBT,_VCONTEBT,value);
				this._VCONTEBT=value;
			}
		}

		
		/// <summary>
		/// 拜访日期
		/// </summary>
		public DateTime? DATE
		{
			get{ return _DATE; }
			set
			{
				this.OnPropertyValueChange(_.DATE,_DATE,value);
				this._DATE=value;
			}
		}

		
		/// <summary>
		/// 到达时间
		/// </summary>
		public DateTime? STIME
		{
			get{ return _STIME; }
			set
			{
				this.OnPropertyValueChange(_.STIME,_STIME,value);
				this._STIME=value;
			}
		}

		
		/// <summary>
		/// 离开时间
		/// </summary>
		public DateTime? ETIME
		{
			get{ return _ETIME; }
			set
			{
				this.OnPropertyValueChange(_.ETIME,_ETIME,value);
				this._ETIME=value;
			}
		}

		
		/// <summary>
		/// 客户联系人电话
		/// </summary>
		public string TELNUB
		{
			get{ return _TELNUB; }
			set
			{
				this.OnPropertyValueChange(_.TELNUB,_TELNUB,value);
				this._TELNUB=value;
			}
		}

		
		/// <summary>
		/// 状态
		/// </summary>
		public string STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 备注说明
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.VPID,

			
			_.CUTNUB,

			
			_.CUTNAM,

			
			_.CONTAT,

			
			_.POSITION,

			
			_.VITYPE,

			
			_.VIPERSON,

			
			_.ADDRES,

			
			_.OBJECTIVE,

			
			_.SURVRY,

			
			_.VCONTEBT,

			
			_.DATE,

			
			_.STIME,

			
			_.ETIME,

			
			_.TELNUB,

			
			_.STATUS,

			
			_.REMARK,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._VPID,

			
			this._CUTNUB,

			
			this._CUTNAM,

			
			this._CONTAT,

			
			this._POSITION,

			
			this._VITYPE,

			
			this._VIPERSON,

			
			this._ADDRES,

			
			this._OBJECTIVE,

			
			this._SURVRY,

			
			this._VCONTEBT,

			
			this._DATE,

			
			this._STIME,

			
			this._ETIME,

			
			this._TELNUB,

			
			this._STATUS,

			
			this._REMARK,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._VPID = DataUtils.ConvertValue<string>(reader["VPID"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._POSITION = DataUtils.ConvertValue<string>(reader["POSITION"]);
						this._VITYPE = DataUtils.ConvertValue<string>(reader["VITYPE"]);
						this._VIPERSON = DataUtils.ConvertValue<string>(reader["VIPERSON"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._OBJECTIVE = DataUtils.ConvertValue<string>(reader["OBJECTIVE"]);
						this._SURVRY = DataUtils.ConvertValue<string>(reader["SURVRY"]);
						this._VCONTEBT = DataUtils.ConvertValue<string>(reader["VCONTEBT"]);
						this._DATE = DataUtils.ConvertValue<DateTime?>(reader["DATE"]);
						this._STIME = DataUtils.ConvertValue<DateTime?>(reader["STIME"]);
						this._ETIME = DataUtils.ConvertValue<DateTime?>(reader["ETIME"]);
						this._TELNUB = DataUtils.ConvertValue<string>(reader["TELNUB"]);
						this._STATUS = DataUtils.ConvertValue<string>(reader["STATUS"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._VPID = DataUtils.ConvertValue<string>(row["VPID"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._POSITION = DataUtils.ConvertValue<string>(row["POSITION"]);
					this._VITYPE = DataUtils.ConvertValue<string>(row["VITYPE"]);
					this._VIPERSON = DataUtils.ConvertValue<string>(row["VIPERSON"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._OBJECTIVE = DataUtils.ConvertValue<string>(row["OBJECTIVE"]);
					this._SURVRY = DataUtils.ConvertValue<string>(row["SURVRY"]);
					this._VCONTEBT = DataUtils.ConvertValue<string>(row["VCONTEBT"]);
					this._DATE = DataUtils.ConvertValue<DateTime?>(row["DATE"]);
					this._STIME = DataUtils.ConvertValue<DateTime?>(row["STIME"]);
					this._ETIME = DataUtils.ConvertValue<DateTime?>(row["ETIME"]);
					this._TELNUB = DataUtils.ConvertValue<string>(row["TELNUB"]);
					this._STATUS = DataUtils.ConvertValue<string>(row["STATUS"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sale_VPlant");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","Sale_VPlant","");
					/// <summary>
			/// 拜访编号
			/// </summary>
			public readonly static Field VPID = new Field("VPID","Sale_VPlant","拜访编号");
					/// <summary>
			/// 拜访客户编号
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","Sale_VPlant","拜访客户编号");
					/// <summary>
			/// 拜访客户公司名称
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","Sale_VPlant","拜访客户公司名称");
					/// <summary>
			/// 客户公司联系人
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","Sale_VPlant","客户公司联系人");
					/// <summary>
			/// 客户业界地位
			/// </summary>
			public readonly static Field POSITION = new Field("POSITION","Sale_VPlant","客户业界地位");
					/// <summary>
			/// 拜访类型
			/// </summary>
			public readonly static Field VITYPE = new Field("VITYPE","Sale_VPlant","拜访类型");
					/// <summary>
			/// 拜访人员
			/// </summary>
			public readonly static Field VIPERSON = new Field("VIPERSON","Sale_VPlant","拜访人员");
					/// <summary>
			/// 拜访地址
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","Sale_VPlant","拜访地址");
					/// <summary>
			/// 拜访目的
			/// </summary>
			public readonly static Field OBJECTIVE = new Field("OBJECTIVE","Sale_VPlant","拜访目的");
					/// <summary>
			/// 客户公司概况
			/// </summary>
			public readonly static Field SURVRY = new Field("SURVRY","Sale_VPlant","客户公司概况");
					/// <summary>
			/// 拜访详情
			/// </summary>
			public readonly static Field VCONTEBT = new Field("VCONTEBT","Sale_VPlant","拜访详情");
					/// <summary>
			/// 拜访日期
			/// </summary>
			public readonly static Field DATE = new Field("DATE","Sale_VPlant","拜访日期");
					/// <summary>
			/// 到达时间
			/// </summary>
			public readonly static Field STIME = new Field("STIME","Sale_VPlant","到达时间");
					/// <summary>
			/// 离开时间
			/// </summary>
			public readonly static Field ETIME = new Field("ETIME","Sale_VPlant","离开时间");
					/// <summary>
			/// 客户联系人电话
			/// </summary>
			public readonly static Field TELNUB = new Field("TELNUB","Sale_VPlant","客户联系人电话");
					/// <summary>
			/// 状态
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","Sale_VPlant","状态");
					/// <summary>
			/// 备注说明
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","Sale_VPlant","备注说明");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","Sale_VPlant","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","Sale_VPlant","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Sale_VPlant","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_BaseData
    /// <summary>
	/// 实体类Sys_BaseData 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_BaseData : Entity 
	{
	 /// <summary>
	/// 实体类Sys_BaseData 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_BaseData():base("Sys_BaseData") {}

		#region Model

		
		private int _ID;
		
		private string _BaseValue;
		
		private string _BaseName;
		
		private int? _GroupID;
		
		private string _GroupNo;
		
		private int? _OrderID;
		
		private string _ReMark;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string BaseValue
		{
			get{ return _BaseValue; }
			set
			{
				this.OnPropertyValueChange(_.BaseValue,_BaseValue,value);
				this._BaseValue=value;
			}
		}

		
		/// <summary>
		/// 基础数据信息
		/// </summary>
		public string BaseName
		{
			get{ return _BaseName; }
			set
			{
				this.OnPropertyValueChange(_.BaseName,_BaseName,value);
				this._BaseName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? GroupID
		{
			get{ return _GroupID; }
			set
			{
				this.OnPropertyValueChange(_.GroupID,_GroupID,value);
				this._GroupID=value;
			}
		}

		
		/// <summary>
		/// 组编号
		/// </summary>
		public string GroupNo
		{
			get{ return _GroupNo; }
			set
			{
				this.OnPropertyValueChange(_.GroupNo,_GroupNo,value);
				this._GroupNo=value;
			}
		}

		
		/// <summary>
		/// 排序号
		/// </summary>
		public int? OrderID
		{
			get{ return _OrderID; }
			set
			{
				this.OnPropertyValueChange(_.OrderID,_OrderID,value);
				this._OrderID=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string ReMark
		{
			get{ return _ReMark; }
			set
			{
				this.OnPropertyValueChange(_.ReMark,_ReMark,value);
				this._ReMark=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.BaseValue,

			
			_.BaseName,

			
			_.GroupID,

			
			_.GroupNo,

			
			_.OrderID,

			
			_.ReMark

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._BaseValue,

			
			this._BaseName,

			
			this._GroupID,

			
			this._GroupNo,

			
			this._OrderID,

			
			this._ReMark

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._BaseValue = DataUtils.ConvertValue<string>(reader["BaseValue"]);
						this._BaseName = DataUtils.ConvertValue<string>(reader["BaseName"]);
						this._GroupID = DataUtils.ConvertValue<int?>(reader["GroupID"]);
						this._GroupNo = DataUtils.ConvertValue<string>(reader["GroupNo"]);
						this._OrderID = DataUtils.ConvertValue<int?>(reader["OrderID"]);
						this._ReMark = DataUtils.ConvertValue<string>(reader["ReMark"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._BaseValue = DataUtils.ConvertValue<string>(row["BaseValue"]);
					this._BaseName = DataUtils.ConvertValue<string>(row["BaseName"]);
					this._GroupID = DataUtils.ConvertValue<int?>(row["GroupID"]);
					this._GroupNo = DataUtils.ConvertValue<string>(row["GroupNo"]);
					this._OrderID = DataUtils.ConvertValue<int?>(row["OrderID"]);
					this._ReMark = DataUtils.ConvertValue<string>(row["ReMark"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_BaseData");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Sys_BaseData","唯一标识");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BaseValue = new Field("BaseValue","Sys_BaseData","");
					/// <summary>
			/// 基础数据信息
			/// </summary>
			public readonly static Field BaseName = new Field("BaseName","Sys_BaseData","基础数据信息");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GroupID = new Field("GroupID","Sys_BaseData","");
					/// <summary>
			/// 组编号
			/// </summary>
			public readonly static Field GroupNo = new Field("GroupNo","Sys_BaseData","组编号");
					/// <summary>
			/// 排序号
			/// </summary>
			public readonly static Field OrderID = new Field("OrderID","Sys_BaseData","排序号");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field ReMark = new Field("ReMark","Sys_BaseData","备注");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_BaseDataGroup
    /// <summary>
	/// 实体类Sys_BaseDataGroup 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_BaseDataGroup : Entity 
	{
	 /// <summary>
	/// 实体类Sys_BaseDataGroup 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_BaseDataGroup():base("Sys_BaseDataGroup") {}

		#region Model

		
		private int _ID;
		
		private string _GroupName;
		
		private string _GroupNo;
		
		private int? _TopID;
		
		private int? _OrderID;
		
		private int? _Mtype;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 组名称
		/// </summary>
		public string GroupName
		{
			get{ return _GroupName; }
			set
			{
				this.OnPropertyValueChange(_.GroupName,_GroupName,value);
				this._GroupName=value;
			}
		}

		
		/// <summary>
		/// 组标识
		/// </summary>
		public string GroupNo
		{
			get{ return _GroupNo; }
			set
			{
				this.OnPropertyValueChange(_.GroupNo,_GroupNo,value);
				this._GroupNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? TopID
		{
			get{ return _TopID; }
			set
			{
				this.OnPropertyValueChange(_.TopID,_TopID,value);
				this._TopID=value;
			}
		}

		
		/// <summary>
		/// 排序号
		/// </summary>
		public int? OrderID
		{
			get{ return _OrderID; }
			set
			{
				this.OnPropertyValueChange(_.OrderID,_OrderID,value);
				this._OrderID=value;
			}
		}

		
		/// <summary>
		/// 0,下拉型：1,树型
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.GroupName,

			
			_.GroupNo,

			
			_.TopID,

			
			_.OrderID,

			
			_.Mtype

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._GroupName,

			
			this._GroupNo,

			
			this._TopID,

			
			this._OrderID,

			
			this._Mtype

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._GroupName = DataUtils.ConvertValue<string>(reader["GroupName"]);
						this._GroupNo = DataUtils.ConvertValue<string>(reader["GroupNo"]);
						this._TopID = DataUtils.ConvertValue<int?>(reader["TopID"]);
						this._OrderID = DataUtils.ConvertValue<int?>(reader["OrderID"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._GroupName = DataUtils.ConvertValue<string>(row["GroupName"]);
					this._GroupNo = DataUtils.ConvertValue<string>(row["GroupNo"]);
					this._TopID = DataUtils.ConvertValue<int?>(row["TopID"]);
					this._OrderID = DataUtils.ConvertValue<int?>(row["OrderID"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_BaseDataGroup");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Sys_BaseDataGroup","唯一标识");
					/// <summary>
			/// 组名称
			/// </summary>
			public readonly static Field GroupName = new Field("GroupName","Sys_BaseDataGroup","组名称");
					/// <summary>
			/// 组标识
			/// </summary>
			public readonly static Field GroupNo = new Field("GroupNo","Sys_BaseDataGroup","组标识");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TopID = new Field("TopID","Sys_BaseDataGroup","");
					/// <summary>
			/// 排序号
			/// </summary>
			public readonly static Field OrderID = new Field("OrderID","Sys_BaseDataGroup","排序号");
					/// <summary>
			/// 0,下拉型：1,树型
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","Sys_BaseDataGroup","0,下拉型：1,树型");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_BaseDataTreeLev
    /// <summary>
	/// 实体类Sys_BaseDataTreeLev 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_BaseDataTreeLev : Entity 
	{
	 /// <summary>
	/// 实体类Sys_BaseDataTreeLev 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_BaseDataTreeLev():base("Sys_BaseDataTreeLev") {}

		#region Model

		
		private int _ID;
		
		private string _NodeName;
		
		private string _NodeValue;
		
		private int? _TopID;
		
		private int? _OrderID;
		
		private string _ReMark;
		
		private int? _GroupID;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 节点名称
		/// </summary>
		public string NodeName
		{
			get{ return _NodeName; }
			set
			{
				this.OnPropertyValueChange(_.NodeName,_NodeName,value);
				this._NodeName=value;
			}
		}

		
		/// <summary>
		/// 节点值
		/// </summary>
		public string NodeValue
		{
			get{ return _NodeValue; }
			set
			{
				this.OnPropertyValueChange(_.NodeValue,_NodeValue,value);
				this._NodeValue=value;
			}
		}

		
		/// <summary>
		/// 上级节点
		/// </summary>
		public int? TopID
		{
			get{ return _TopID; }
			set
			{
				this.OnPropertyValueChange(_.TopID,_TopID,value);
				this._TopID=value;
			}
		}

		
		/// <summary>
		/// 排序号
		/// </summary>
		public int? OrderID
		{
			get{ return _OrderID; }
			set
			{
				this.OnPropertyValueChange(_.OrderID,_OrderID,value);
				this._OrderID=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string ReMark
		{
			get{ return _ReMark; }
			set
			{
				this.OnPropertyValueChange(_.ReMark,_ReMark,value);
				this._ReMark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? GroupID
		{
			get{ return _GroupID; }
			set
			{
				this.OnPropertyValueChange(_.GroupID,_GroupID,value);
				this._GroupID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.NodeName,

			
			_.NodeValue,

			
			_.TopID,

			
			_.OrderID,

			
			_.ReMark,

			
			_.GroupID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._NodeName,

			
			this._NodeValue,

			
			this._TopID,

			
			this._OrderID,

			
			this._ReMark,

			
			this._GroupID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._NodeName = DataUtils.ConvertValue<string>(reader["NodeName"]);
						this._NodeValue = DataUtils.ConvertValue<string>(reader["NodeValue"]);
						this._TopID = DataUtils.ConvertValue<int?>(reader["TopID"]);
						this._OrderID = DataUtils.ConvertValue<int?>(reader["OrderID"]);
						this._ReMark = DataUtils.ConvertValue<string>(reader["ReMark"]);
						this._GroupID = DataUtils.ConvertValue<int?>(reader["GroupID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._NodeName = DataUtils.ConvertValue<string>(row["NodeName"]);
					this._NodeValue = DataUtils.ConvertValue<string>(row["NodeValue"]);
					this._TopID = DataUtils.ConvertValue<int?>(row["TopID"]);
					this._OrderID = DataUtils.ConvertValue<int?>(row["OrderID"]);
					this._ReMark = DataUtils.ConvertValue<string>(row["ReMark"]);
					this._GroupID = DataUtils.ConvertValue<int?>(row["GroupID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_BaseDataTreeLev");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Sys_BaseDataTreeLev","唯一标识");
					/// <summary>
			/// 节点名称
			/// </summary>
			public readonly static Field NodeName = new Field("NodeName","Sys_BaseDataTreeLev","节点名称");
					/// <summary>
			/// 节点值
			/// </summary>
			public readonly static Field NodeValue = new Field("NodeValue","Sys_BaseDataTreeLev","节点值");
					/// <summary>
			/// 上级节点
			/// </summary>
			public readonly static Field TopID = new Field("TopID","Sys_BaseDataTreeLev","上级节点");
					/// <summary>
			/// 排序号
			/// </summary>
			public readonly static Field OrderID = new Field("OrderID","Sys_BaseDataTreeLev","排序号");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field ReMark = new Field("ReMark","Sys_BaseDataTreeLev","备注");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field GroupID = new Field("GroupID","Sys_BaseDataTreeLev","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_DeskTop
    /// <summary>
	/// 实体类Sys_DeskTop 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_DeskTop : Entity 
	{
	 /// <summary>
	/// 实体类Sys_DeskTop 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_DeskTop():base("Sys_DeskTop") {}

		#region Model

		
		private int _ID;
		
		private int? _Uid;
		
		private string _DeskJson;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int? Uid
		{
			get{ return _Uid; }
			set
			{
				this.OnPropertyValueChange(_.Uid,_Uid,value);
				this._Uid=value;
			}
		}

		
		/// <summary>
		/// 桌面布局
		/// </summary>
		public string DeskJson
		{
			get{ return _DeskJson; }
			set
			{
				this.OnPropertyValueChange(_.DeskJson,_DeskJson,value);
				this._DeskJson=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.Uid,

			
			_.DeskJson

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._Uid,

			
			this._DeskJson

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._Uid = DataUtils.ConvertValue<int?>(reader["Uid"]);
						this._DeskJson = DataUtils.ConvertValue<string>(reader["DeskJson"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._Uid = DataUtils.ConvertValue<int?>(row["Uid"]);
					this._DeskJson = DataUtils.ConvertValue<string>(row["DeskJson"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_DeskTop");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Sys_DeskTop","唯一标识");
					/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field Uid = new Field("Uid","Sys_DeskTop","用户ID");
					/// <summary>
			/// 桌面布局
			/// </summary>
			public readonly static Field DeskJson = new Field("DeskJson","Sys_DeskTop","桌面布局");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_ErrorLogs
    /// <summary>
	/// 实体类Sys_ErrorLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_ErrorLogs : Entity 
	{
	 /// <summary>
	/// 实体类Sys_ErrorLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_ErrorLogs():base("Sys_ErrorLogs") {}

		#region Model

		
		private int _ID;
		
		private string _ErrorMessage;
		
		private string _ErrorPage;
		
		private DateTime? _ErrorTime;
		
		private string _Errorer;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 出错信息
		/// </summary>
		public string ErrorMessage
		{
			get{ return _ErrorMessage; }
			set
			{
				this.OnPropertyValueChange(_.ErrorMessage,_ErrorMessage,value);
				this._ErrorMessage=value;
			}
		}

		
		/// <summary>
		/// 出错页面
		/// </summary>
		public string ErrorPage
		{
			get{ return _ErrorPage; }
			set
			{
				this.OnPropertyValueChange(_.ErrorPage,_ErrorPage,value);
				this._ErrorPage=value;
			}
		}

		
		/// <summary>
		/// 出错日期
		/// </summary>
		public DateTime? ErrorTime
		{
			get{ return _ErrorTime; }
			set
			{
				this.OnPropertyValueChange(_.ErrorTime,_ErrorTime,value);
				this._ErrorTime=value;
			}
		}

		
		/// <summary>
		/// 操作出错人员
		/// </summary>
		public string Errorer
		{
			get{ return _Errorer; }
			set
			{
				this.OnPropertyValueChange(_.Errorer,_Errorer,value);
				this._Errorer=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.ErrorMessage,

			
			_.ErrorPage,

			
			_.ErrorTime,

			
			_.Errorer

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._ErrorMessage,

			
			this._ErrorPage,

			
			this._ErrorTime,

			
			this._Errorer

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._ErrorMessage = DataUtils.ConvertValue<string>(reader["ErrorMessage"]);
						this._ErrorPage = DataUtils.ConvertValue<string>(reader["ErrorPage"]);
						this._ErrorTime = DataUtils.ConvertValue<DateTime?>(reader["ErrorTime"]);
						this._Errorer = DataUtils.ConvertValue<string>(reader["Errorer"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._ErrorMessage = DataUtils.ConvertValue<string>(row["ErrorMessage"]);
					this._ErrorPage = DataUtils.ConvertValue<string>(row["ErrorPage"]);
					this._ErrorTime = DataUtils.ConvertValue<DateTime?>(row["ErrorTime"]);
					this._Errorer = DataUtils.ConvertValue<string>(row["Errorer"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_ErrorLogs");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","Sys_ErrorLogs","唯一标识");
					/// <summary>
			/// 出错信息
			/// </summary>
			public readonly static Field ErrorMessage = new Field("ErrorMessage","Sys_ErrorLogs","出错信息");
					/// <summary>
			/// 出错页面
			/// </summary>
			public readonly static Field ErrorPage = new Field("ErrorPage","Sys_ErrorLogs","出错页面");
					/// <summary>
			/// 出错日期
			/// </summary>
			public readonly static Field ErrorTime = new Field("ErrorTime","Sys_ErrorLogs","出错日期");
					/// <summary>
			/// 操作出错人员
			/// </summary>
			public readonly static Field Errorer = new Field("Errorer","Sys_ErrorLogs","操作出错人员");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_ModPermis
    /// <summary>
	/// 实体类Sys_ModPermis 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_ModPermis : Entity 
	{
	 /// <summary>
	/// 实体类Sys_ModPermis 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_ModPermis():base("Sys_ModPermis") {}

		#region Model

		
		private int _Perid;
		
		private string _Pername;
		
		private string _Keyword;
		
		private string _FunctionPage;
		
		private int? _Orderid;
		
		private bool? _IsUser;
		
		private string _Memo;
		
		/// <summary>
		/// 权限标识
		/// </summary>
		public int Perid
		{
			get{ return _Perid; }
			set
			{
				this.OnPropertyValueChange(_.Perid,_Perid,value);
				this._Perid=value;
			}
		}

		
		/// <summary>
		/// 权限名
		/// </summary>
		public string Pername
		{
			get{ return _Pername; }
			set
			{
				this.OnPropertyValueChange(_.Pername,_Pername,value);
				this._Pername=value;
			}
		}

		
		/// <summary>
		/// 关键字
		/// </summary>
		public string Keyword
		{
			get{ return _Keyword; }
			set
			{
				this.OnPropertyValueChange(_.Keyword,_Keyword,value);
				this._Keyword=value;
			}
		}

		
		/// <summary>
		/// 执行页面
		/// </summary>
		public string FunctionPage
		{
			get{ return _FunctionPage; }
			set
			{
				this.OnPropertyValueChange(_.FunctionPage,_FunctionPage,value);
				this._FunctionPage=value;
			}
		}

		
		/// <summary>
		/// 排序ID
		/// </summary>
		public int? Orderid
		{
			get{ return _Orderid; }
			set
			{
				this.OnPropertyValueChange(_.Orderid,_Orderid,value);
				this._Orderid=value;
			}
		}

		
		/// <summary>
		/// 是否启用
		/// </summary>
		public bool? IsUser
		{
			get{ return _IsUser; }
			set
			{
				this.OnPropertyValueChange(_.IsUser,_IsUser,value);
				this._IsUser=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string Memo
		{
			get{ return _Memo; }
			set
			{
				this.OnPropertyValueChange(_.Memo,_Memo,value);
				this._Memo=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Perid;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Perid};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Perid,

			
			_.Pername,

			
			_.Keyword,

			
			_.FunctionPage,

			
			_.Orderid,

			
			_.IsUser,

			
			_.Memo

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Perid,

			
			this._Pername,

			
			this._Keyword,

			
			this._FunctionPage,

			
			this._Orderid,

			
			this._IsUser,

			
			this._Memo

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Perid = DataUtils.ConvertValue<int>(reader["Perid"]);
						this._Pername = DataUtils.ConvertValue<string>(reader["Pername"]);
						this._Keyword = DataUtils.ConvertValue<string>(reader["Keyword"]);
						this._FunctionPage = DataUtils.ConvertValue<string>(reader["FunctionPage"]);
						this._Orderid = DataUtils.ConvertValue<int?>(reader["Orderid"]);
						this._IsUser = DataUtils.ConvertValue<bool?>(reader["IsUser"]);
						this._Memo = DataUtils.ConvertValue<string>(reader["Memo"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Perid = DataUtils.ConvertValue<int>(row["Perid"]);
					this._Pername = DataUtils.ConvertValue<string>(row["Pername"]);
					this._Keyword = DataUtils.ConvertValue<string>(row["Keyword"]);
					this._FunctionPage = DataUtils.ConvertValue<string>(row["FunctionPage"]);
					this._Orderid = DataUtils.ConvertValue<int?>(row["Orderid"]);
					this._IsUser = DataUtils.ConvertValue<bool?>(row["IsUser"]);
					this._Memo = DataUtils.ConvertValue<string>(row["Memo"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_ModPermis");
				/// <summary>
			/// 权限标识
			/// </summary>
			public readonly static Field Perid = new Field("Perid","Sys_ModPermis","权限标识");
					/// <summary>
			/// 权限名
			/// </summary>
			public readonly static Field Pername = new Field("Pername","Sys_ModPermis","权限名");
					/// <summary>
			/// 关键字
			/// </summary>
			public readonly static Field Keyword = new Field("Keyword","Sys_ModPermis","关键字");
					/// <summary>
			/// 执行页面
			/// </summary>
			public readonly static Field FunctionPage = new Field("FunctionPage","Sys_ModPermis","执行页面");
					/// <summary>
			/// 排序ID
			/// </summary>
			public readonly static Field Orderid = new Field("Orderid","Sys_ModPermis","排序ID");
					/// <summary>
			/// 是否启用
			/// </summary>
			public readonly static Field IsUser = new Field("IsUser","Sys_ModPermis","是否启用");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field Memo = new Field("Memo","Sys_ModPermis","备注");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_ModToPer
    /// <summary>
	/// 实体类Sys_ModToPer 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_ModToPer : Entity 
	{
	 /// <summary>
	/// 实体类Sys_ModToPer 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_ModToPer():base("Sys_ModToPer") {}

		#region Model

		
		private int _Mpid;
		
		private int? _Perid;
		
		private int? _Mid;
		
		/// <summary>
		/// 
		/// </summary>
		public int Mpid
		{
			get{ return _Mpid; }
			set
			{
				this.OnPropertyValueChange(_.Mpid,_Mpid,value);
				this._Mpid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Perid
		{
			get{ return _Perid; }
			set
			{
				this.OnPropertyValueChange(_.Perid,_Perid,value);
				this._Perid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Mid
		{
			get{ return _Mid; }
			set
			{
				this.OnPropertyValueChange(_.Mid,_Mid,value);
				this._Mid=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Mpid;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Mpid};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Mpid,

			
			_.Perid,

			
			_.Mid

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Mpid,

			
			this._Perid,

			
			this._Mid

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Mpid = DataUtils.ConvertValue<int>(reader["Mpid"]);
						this._Perid = DataUtils.ConvertValue<int?>(reader["Perid"]);
						this._Mid = DataUtils.ConvertValue<int?>(reader["Mid"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Mpid = DataUtils.ConvertValue<int>(row["Mpid"]);
					this._Perid = DataUtils.ConvertValue<int?>(row["Perid"]);
					this._Mid = DataUtils.ConvertValue<int?>(row["Mid"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_ModToPer");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mpid = new Field("Mpid","Sys_ModToPer","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Perid = new Field("Perid","Sys_ModToPer","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mid = new Field("Mid","Sys_ModToPer","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_Modules
    /// <summary>
	/// 实体类Sys_Modules 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_Modules : Entity 
	{
	 /// <summary>
	/// 实体类Sys_Modules 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_Modules():base("Sys_Modules") {}

		#region Model

		
		private int _Mid;
		
		private string _ModeuleName;
		
		private int? _Topmid;
		
		private string _Keyword;
		
		private string _FunctionPage;
		
		private bool? _IsUser;
		
		private string _Memo;
		
		private int? _TreeLevel;
		
		private string _Mtype;
		
		private string _Icon;
		
		private int? _Orderid;
		
		/// <summary>
		/// 
		/// </summary>
		public int Mid
		{
			get{ return _Mid; }
			set
			{
				this.OnPropertyValueChange(_.Mid,_Mid,value);
				this._Mid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ModeuleName
		{
			get{ return _ModeuleName; }
			set
			{
				this.OnPropertyValueChange(_.ModeuleName,_ModeuleName,value);
				this._ModeuleName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Topmid
		{
			get{ return _Topmid; }
			set
			{
				this.OnPropertyValueChange(_.Topmid,_Topmid,value);
				this._Topmid=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Keyword
		{
			get{ return _Keyword; }
			set
			{
				this.OnPropertyValueChange(_.Keyword,_Keyword,value);
				this._Keyword=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string FunctionPage
		{
			get{ return _FunctionPage; }
			set
			{
				this.OnPropertyValueChange(_.FunctionPage,_FunctionPage,value);
				this._FunctionPage=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsUser
		{
			get{ return _IsUser; }
			set
			{
				this.OnPropertyValueChange(_.IsUser,_IsUser,value);
				this._IsUser=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Memo
		{
			get{ return _Memo; }
			set
			{
				this.OnPropertyValueChange(_.Memo,_Memo,value);
				this._Memo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? TreeLevel
		{
			get{ return _TreeLevel; }
			set
			{
				this.OnPropertyValueChange(_.TreeLevel,_TreeLevel,value);
				this._TreeLevel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Icon
		{
			get{ return _Icon; }
			set
			{
				this.OnPropertyValueChange(_.Icon,_Icon,value);
				this._Icon=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Orderid
		{
			get{ return _Orderid; }
			set
			{
				this.OnPropertyValueChange(_.Orderid,_Orderid,value);
				this._Orderid=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Mid;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Mid};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Mid,

			
			_.ModeuleName,

			
			_.Topmid,

			
			_.Keyword,

			
			_.FunctionPage,

			
			_.IsUser,

			
			_.Memo,

			
			_.TreeLevel,

			
			_.Mtype,

			
			_.Icon,

			
			_.Orderid

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Mid,

			
			this._ModeuleName,

			
			this._Topmid,

			
			this._Keyword,

			
			this._FunctionPage,

			
			this._IsUser,

			
			this._Memo,

			
			this._TreeLevel,

			
			this._Mtype,

			
			this._Icon,

			
			this._Orderid

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Mid = DataUtils.ConvertValue<int>(reader["Mid"]);
						this._ModeuleName = DataUtils.ConvertValue<string>(reader["ModeuleName"]);
						this._Topmid = DataUtils.ConvertValue<int?>(reader["Topmid"]);
						this._Keyword = DataUtils.ConvertValue<string>(reader["Keyword"]);
						this._FunctionPage = DataUtils.ConvertValue<string>(reader["FunctionPage"]);
						this._IsUser = DataUtils.ConvertValue<bool?>(reader["IsUser"]);
						this._Memo = DataUtils.ConvertValue<string>(reader["Memo"]);
						this._TreeLevel = DataUtils.ConvertValue<int?>(reader["TreeLevel"]);
						this._Mtype = DataUtils.ConvertValue<string>(reader["Mtype"]);
						this._Icon = DataUtils.ConvertValue<string>(reader["Icon"]);
						this._Orderid = DataUtils.ConvertValue<int?>(reader["Orderid"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Mid = DataUtils.ConvertValue<int>(row["Mid"]);
					this._ModeuleName = DataUtils.ConvertValue<string>(row["ModeuleName"]);
					this._Topmid = DataUtils.ConvertValue<int?>(row["Topmid"]);
					this._Keyword = DataUtils.ConvertValue<string>(row["Keyword"]);
					this._FunctionPage = DataUtils.ConvertValue<string>(row["FunctionPage"]);
					this._IsUser = DataUtils.ConvertValue<bool?>(row["IsUser"]);
					this._Memo = DataUtils.ConvertValue<string>(row["Memo"]);
					this._TreeLevel = DataUtils.ConvertValue<int?>(row["TreeLevel"]);
					this._Mtype = DataUtils.ConvertValue<string>(row["Mtype"]);
					this._Icon = DataUtils.ConvertValue<string>(row["Icon"]);
					this._Orderid = DataUtils.ConvertValue<int?>(row["Orderid"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_Modules");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mid = new Field("Mid","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ModeuleName = new Field("ModeuleName","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Topmid = new Field("Topmid","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Keyword = new Field("Keyword","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FunctionPage = new Field("FunctionPage","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsUser = new Field("IsUser","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Memo = new Field("Memo","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TreeLevel = new Field("TreeLevel","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Icon = new Field("Icon","Sys_Modules","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Orderid = new Field("Orderid","Sys_Modules","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_PerInfo
    /// <summary>
	/// 实体类Sys_PerInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_PerInfo : Entity 
	{
	 /// <summary>
	/// 实体类Sys_PerInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_PerInfo():base("Sys_PerInfo") {}

		#region Model

		
		private int _Userpid;
		
		private int? _Userid;
		
		private int? _Perid;
		
		private int? _Pertype;
		
		private bool? _Isenable;
		
		private int? _Pmtype;
		
		private int? _TopMid;
		
		private string _Pername;
		
		private int? _Mid;
		
		/// <summary>
		/// 用户权限标识ID
		/// </summary>
		public int Userpid
		{
			get{ return _Userpid; }
			set
			{
				this.OnPropertyValueChange(_.Userpid,_Userpid,value);
				this._Userpid=value;
			}
		}

		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int? Userid
		{
			get{ return _Userid; }
			set
			{
				this.OnPropertyValueChange(_.Userid,_Userid,value);
				this._Userid=value;
			}
		}

		
		/// <summary>
		/// 权限ID
		/// </summary>
		public int? Perid
		{
			get{ return _Perid; }
			set
			{
				this.OnPropertyValueChange(_.Perid,_Perid,value);
				this._Perid=value;
			}
		}

		
		/// <summary>
		/// 权限类别，0:单人权限 1:用户组权限
		/// </summary>
		public int? Pertype
		{
			get{ return _Pertype; }
			set
			{
				this.OnPropertyValueChange(_.Pertype,_Pertype,value);
				this._Pertype=value;
			}
		}

		
		/// <summary>
		/// 是否启用
		/// </summary>
		public bool? Isenable
		{
			get{ return _Isenable; }
			set
			{
				this.OnPropertyValueChange(_.Isenable,_Isenable,value);
				this._Isenable=value;
			}
		}

		
		/// <summary>
		/// 0:模块权限 1:模块内具体权限
		/// </summary>
		public int? Pmtype
		{
			get{ return _Pmtype; }
			set
			{
				this.OnPropertyValueChange(_.Pmtype,_Pmtype,value);
				this._Pmtype=value;
			}
		}

		
		/// <summary>
		/// 针对于模块的权限,上级模块ID
		/// </summary>
		public int? TopMid
		{
			get{ return _TopMid; }
			set
			{
				this.OnPropertyValueChange(_.TopMid,_TopMid,value);
				this._TopMid=value;
			}
		}

		
		/// <summary>
		/// 权限名称
		/// </summary>
		public string Pername
		{
			get{ return _Pername; }
			set
			{
				this.OnPropertyValueChange(_.Pername,_Pername,value);
				this._Pername=value;
			}
		}

		
		/// <summary>
		/// 模块ID
		/// </summary>
		public int? Mid
		{
			get{ return _Mid; }
			set
			{
				this.OnPropertyValueChange(_.Mid,_Mid,value);
				this._Mid=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Userpid;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Userpid};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Userpid,

			
			_.Userid,

			
			_.Perid,

			
			_.Pertype,

			
			_.Isenable,

			
			_.Pmtype,

			
			_.TopMid,

			
			_.Pername,

			
			_.Mid

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Userpid,

			
			this._Userid,

			
			this._Perid,

			
			this._Pertype,

			
			this._Isenable,

			
			this._Pmtype,

			
			this._TopMid,

			
			this._Pername,

			
			this._Mid

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Userpid = DataUtils.ConvertValue<int>(reader["Userpid"]);
						this._Userid = DataUtils.ConvertValue<int?>(reader["Userid"]);
						this._Perid = DataUtils.ConvertValue<int?>(reader["Perid"]);
						this._Pertype = DataUtils.ConvertValue<int?>(reader["Pertype"]);
						this._Isenable = DataUtils.ConvertValue<bool?>(reader["Isenable"]);
						this._Pmtype = DataUtils.ConvertValue<int?>(reader["Pmtype"]);
						this._TopMid = DataUtils.ConvertValue<int?>(reader["TopMid"]);
						this._Pername = DataUtils.ConvertValue<string>(reader["Pername"]);
						this._Mid = DataUtils.ConvertValue<int?>(reader["Mid"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Userpid = DataUtils.ConvertValue<int>(row["Userpid"]);
					this._Userid = DataUtils.ConvertValue<int?>(row["Userid"]);
					this._Perid = DataUtils.ConvertValue<int?>(row["Perid"]);
					this._Pertype = DataUtils.ConvertValue<int?>(row["Pertype"]);
					this._Isenable = DataUtils.ConvertValue<bool?>(row["Isenable"]);
					this._Pmtype = DataUtils.ConvertValue<int?>(row["Pmtype"]);
					this._TopMid = DataUtils.ConvertValue<int?>(row["TopMid"]);
					this._Pername = DataUtils.ConvertValue<string>(row["Pername"]);
					this._Mid = DataUtils.ConvertValue<int?>(row["Mid"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_PerInfo");
				/// <summary>
			/// 用户权限标识ID
			/// </summary>
			public readonly static Field Userpid = new Field("Userpid","Sys_PerInfo","用户权限标识ID");
					/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field Userid = new Field("Userid","Sys_PerInfo","用户ID");
					/// <summary>
			/// 权限ID
			/// </summary>
			public readonly static Field Perid = new Field("Perid","Sys_PerInfo","权限ID");
					/// <summary>
			/// 权限类别，0:单人权限 1:用户组权限
			/// </summary>
			public readonly static Field Pertype = new Field("Pertype","Sys_PerInfo","权限类别，0:单人权限 1:用户组权限");
					/// <summary>
			/// 是否启用
			/// </summary>
			public readonly static Field Isenable = new Field("Isenable","Sys_PerInfo","是否启用");
					/// <summary>
			/// 0:模块权限 1:模块内具体权限
			/// </summary>
			public readonly static Field Pmtype = new Field("Pmtype","Sys_PerInfo","0:模块权限 1:模块内具体权限");
					/// <summary>
			/// 针对于模块的权限,上级模块ID
			/// </summary>
			public readonly static Field TopMid = new Field("TopMid","Sys_PerInfo","针对于模块的权限,上级模块ID");
					/// <summary>
			/// 权限名称
			/// </summary>
			public readonly static Field Pername = new Field("Pername","Sys_PerInfo","权限名称");
					/// <summary>
			/// 模块ID
			/// </summary>
			public readonly static Field Mid = new Field("Mid","Sys_PerInfo","模块ID");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_UserGroup
    /// <summary>
	/// 实体类Sys_UserGroup 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_UserGroup : Entity 
	{
	 /// <summary>
	/// 实体类Sys_UserGroup 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_UserGroup():base("Sys_UserGroup") {}

		#region Model

		
		private int _Ugid;
		
		private string _Groupname;
		
		private string _Memo;
		
		private int? _Orderid;
		
		private bool? _Isuser;
		
		private DateTime? _Updatetime;
		
		private string _GroupFlag;
		
		/// <summary>
		/// 组唯一标识
		/// </summary>
		public int Ugid
		{
			get{ return _Ugid; }
			set
			{
				this.OnPropertyValueChange(_.Ugid,_Ugid,value);
				this._Ugid=value;
			}
		}

		
		/// <summary>
		/// 权限组名
		/// </summary>
		public string Groupname
		{
			get{ return _Groupname; }
			set
			{
				this.OnPropertyValueChange(_.Groupname,_Groupname,value);
				this._Groupname=value;
			}
		}

		
		/// <summary>
		/// 解释备注
		/// </summary>
		public string Memo
		{
			get{ return _Memo; }
			set
			{
				this.OnPropertyValueChange(_.Memo,_Memo,value);
				this._Memo=value;
			}
		}

		
		/// <summary>
		/// 排序号
		/// </summary>
		public int? Orderid
		{
			get{ return _Orderid; }
			set
			{
				this.OnPropertyValueChange(_.Orderid,_Orderid,value);
				this._Orderid=value;
			}
		}

		
		/// <summary>
		/// 是否可用
		/// </summary>
		public bool? Isuser
		{
			get{ return _Isuser; }
			set
			{
				this.OnPropertyValueChange(_.Isuser,_Isuser,value);
				this._Isuser=value;
			}
		}

		
		/// <summary>
		/// 更新日期
		/// </summary>
		public DateTime? Updatetime
		{
			get{ return _Updatetime; }
			set
			{
				this.OnPropertyValueChange(_.Updatetime,_Updatetime,value);
				this._Updatetime=value;
			}
		}

		
		/// <summary>
		/// 组标识
		/// </summary>
		public string GroupFlag
		{
			get{ return _GroupFlag; }
			set
			{
				this.OnPropertyValueChange(_.GroupFlag,_GroupFlag,value);
				this._GroupFlag=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Ugid;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Ugid};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Ugid,

			
			_.Groupname,

			
			_.Memo,

			
			_.Orderid,

			
			_.Isuser,

			
			_.Updatetime,

			
			_.GroupFlag

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Ugid,

			
			this._Groupname,

			
			this._Memo,

			
			this._Orderid,

			
			this._Isuser,

			
			this._Updatetime,

			
			this._GroupFlag

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Ugid = DataUtils.ConvertValue<int>(reader["Ugid"]);
						this._Groupname = DataUtils.ConvertValue<string>(reader["Groupname"]);
						this._Memo = DataUtils.ConvertValue<string>(reader["Memo"]);
						this._Orderid = DataUtils.ConvertValue<int?>(reader["Orderid"]);
						this._Isuser = DataUtils.ConvertValue<bool?>(reader["Isuser"]);
						this._Updatetime = DataUtils.ConvertValue<DateTime?>(reader["Updatetime"]);
						this._GroupFlag = DataUtils.ConvertValue<string>(reader["GroupFlag"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Ugid = DataUtils.ConvertValue<int>(row["Ugid"]);
					this._Groupname = DataUtils.ConvertValue<string>(row["Groupname"]);
					this._Memo = DataUtils.ConvertValue<string>(row["Memo"]);
					this._Orderid = DataUtils.ConvertValue<int?>(row["Orderid"]);
					this._Isuser = DataUtils.ConvertValue<bool?>(row["Isuser"]);
					this._Updatetime = DataUtils.ConvertValue<DateTime?>(row["Updatetime"]);
					this._GroupFlag = DataUtils.ConvertValue<string>(row["GroupFlag"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_UserGroup");
				/// <summary>
			/// 组唯一标识
			/// </summary>
			public readonly static Field Ugid = new Field("Ugid","Sys_UserGroup","组唯一标识");
					/// <summary>
			/// 权限组名
			/// </summary>
			public readonly static Field Groupname = new Field("Groupname","Sys_UserGroup","权限组名");
					/// <summary>
			/// 解释备注
			/// </summary>
			public readonly static Field Memo = new Field("Memo","Sys_UserGroup","解释备注");
					/// <summary>
			/// 排序号
			/// </summary>
			public readonly static Field Orderid = new Field("Orderid","Sys_UserGroup","排序号");
					/// <summary>
			/// 是否可用
			/// </summary>
			public readonly static Field Isuser = new Field("Isuser","Sys_UserGroup","是否可用");
					/// <summary>
			/// 更新日期
			/// </summary>
			public readonly static Field Updatetime = new Field("Updatetime","Sys_UserGroup","更新日期");
					/// <summary>
			/// 组标识
			/// </summary>
			public readonly static Field GroupFlag = new Field("GroupFlag","Sys_UserGroup","组标识");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_UserLoginLog
    /// <summary>
	/// 实体类Sys_UserLoginLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_UserLoginLog : Entity 
	{
	 /// <summary>
	/// 实体类Sys_UserLoginLog 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_UserLoginLog():base("Sys_UserLoginLog") {}

		#region Model

		
		private int _LogID;
		
		private int? _UserID;
		
		private string _RealName;
		
		private string _LoginIP;
		
		private DateTime? _LoginTime;
		
		private string _LoginDetail;
		
		/// <summary>
		/// 日志标识
		/// </summary>
		public int LogID
		{
			get{ return _LogID; }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int? UserID
		{
			get{ return _UserID; }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 用户真实姓名
		/// </summary>
		public string RealName
		{
			get{ return _RealName; }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 登录IP
		/// </summary>
		public string LoginIP
		{
			get{ return _LoginIP; }
			set
			{
				this.OnPropertyValueChange(_.LoginIP,_LoginIP,value);
				this._LoginIP=value;
			}
		}

		
		/// <summary>
		/// 用户登录时间
		/// </summary>
		public DateTime? LoginTime
		{
			get{ return _LoginTime; }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		/// <summary>
		/// 登录信息
		/// </summary>
		public string LoginDetail
		{
			get{ return _LoginDetail; }
			set
			{
				this.OnPropertyValueChange(_.LoginDetail,_LoginDetail,value);
				this._LoginDetail=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.LogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.LogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.LogID,

			
			_.UserID,

			
			_.RealName,

			
			_.LoginIP,

			
			_.LoginTime,

			
			_.LoginDetail

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._LogID,

			
			this._UserID,

			
			this._RealName,

			
			this._LoginIP,

			
			this._LoginTime,

			
			this._LoginDetail

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._UserID = DataUtils.ConvertValue<int?>(reader["UserID"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._LoginIP = DataUtils.ConvertValue<string>(reader["LoginIP"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
						this._LoginDetail = DataUtils.ConvertValue<string>(reader["LoginDetail"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._UserID = DataUtils.ConvertValue<int?>(row["UserID"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._LoginIP = DataUtils.ConvertValue<string>(row["LoginIP"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					this._LoginDetail = DataUtils.ConvertValue<string>(row["LoginDetail"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_UserLoginLog");
				/// <summary>
			/// 日志标识
			/// </summary>
			public readonly static Field LogID = new Field("LogID","Sys_UserLoginLog","日志标识");
					/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field UserID = new Field("UserID","Sys_UserLoginLog","用户ID");
					/// <summary>
			/// 用户真实姓名
			/// </summary>
			public readonly static Field RealName = new Field("RealName","Sys_UserLoginLog","用户真实姓名");
					/// <summary>
			/// 登录IP
			/// </summary>
			public readonly static Field LoginIP = new Field("LoginIP","Sys_UserLoginLog","登录IP");
					/// <summary>
			/// 用户登录时间
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","Sys_UserLoginLog","用户登录时间");
					/// <summary>
			/// 登录信息
			/// </summary>
			public readonly static Field LoginDetail = new Field("LoginDetail","Sys_UserLoginLog","登录信息");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_UserLogs
    /// <summary>
	/// 实体类Sys_UserLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_UserLogs : Entity 
	{
	 /// <summary>
	/// 实体类Sys_UserLogs 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_UserLogs():base("Sys_UserLogs") {}

		#region Model

		
		private int _LogID;
		
		private int? _UserID;
		
		private string _RealName;
		
		private string _LogKeyWord;
		
		private string _LogIP;
		
		private int? _SetType;
		
		private string _Operation;
		
		private DateTime? _CreateDate;
		
		private string _Remark;
		
		private string _UpdateTable;
		
		/// <summary>
		/// 日志ID
		/// </summary>
		public int LogID
		{
			get{ return _LogID; }
			set
			{
				this.OnPropertyValueChange(_.LogID,_LogID,value);
				this._LogID=value;
			}
		}

		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int? UserID
		{
			get{ return _UserID; }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 用户姓名
		/// </summary>
		public string RealName
		{
			get{ return _RealName; }
			set
			{
				this.OnPropertyValueChange(_.RealName,_RealName,value);
				this._RealName=value;
			}
		}

		
		/// <summary>
		/// 操作模块
		/// </summary>
		public string LogKeyWord
		{
			get{ return _LogKeyWord; }
			set
			{
				this.OnPropertyValueChange(_.LogKeyWord,_LogKeyWord,value);
				this._LogKeyWord=value;
			}
		}

		
		/// <summary>
		/// 操作IP
		/// </summary>
		public string LogIP
		{
			get{ return _LogIP; }
			set
			{
				this.OnPropertyValueChange(_.LogIP,_LogIP,value);
				this._LogIP=value;
			}
		}

		
		/// <summary>
		/// 操作类型
		/// </summary>
		public int? SetType
		{
			get{ return _SetType; }
			set
			{
				this.OnPropertyValueChange(_.SetType,_SetType,value);
				this._SetType=value;
			}
		}

		
		/// <summary>
		/// 操作内容
		/// </summary>
		public string Operation
		{
			get{ return _Operation; }
			set
			{
				this.OnPropertyValueChange(_.Operation,_Operation,value);
				this._Operation=value;
			}
		}

		
		/// <summary>
		/// 操作日期
		/// </summary>
		public DateTime? CreateDate
		{
			get{ return _CreateDate; }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate=value;
			}
		}

		
		/// <summary>
		/// 备注
		/// </summary>
		public string Remark
		{
			get{ return _Remark; }
			set
			{
				this.OnPropertyValueChange(_.Remark,_Remark,value);
				this._Remark=value;
			}
		}

		
		/// <summary>
		/// 触发更新表
		/// </summary>
		public string UpdateTable
		{
			get{ return _UpdateTable; }
			set
			{
				this.OnPropertyValueChange(_.UpdateTable,_UpdateTable,value);
				this._UpdateTable=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.LogID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.LogID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.LogID,

			
			_.UserID,

			
			_.RealName,

			
			_.LogKeyWord,

			
			_.LogIP,

			
			_.SetType,

			
			_.Operation,

			
			_.CreateDate,

			
			_.Remark,

			
			_.UpdateTable

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._LogID,

			
			this._UserID,

			
			this._RealName,

			
			this._LogKeyWord,

			
			this._LogIP,

			
			this._SetType,

			
			this._Operation,

			
			this._CreateDate,

			
			this._Remark,

			
			this._UpdateTable

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._LogID = DataUtils.ConvertValue<int>(reader["LogID"]);
						this._UserID = DataUtils.ConvertValue<int?>(reader["UserID"]);
						this._RealName = DataUtils.ConvertValue<string>(reader["RealName"]);
						this._LogKeyWord = DataUtils.ConvertValue<string>(reader["LogKeyWord"]);
						this._LogIP = DataUtils.ConvertValue<string>(reader["LogIP"]);
						this._SetType = DataUtils.ConvertValue<int?>(reader["SetType"]);
						this._Operation = DataUtils.ConvertValue<string>(reader["Operation"]);
						this._CreateDate = DataUtils.ConvertValue<DateTime?>(reader["CreateDate"]);
						this._Remark = DataUtils.ConvertValue<string>(reader["Remark"]);
						this._UpdateTable = DataUtils.ConvertValue<string>(reader["UpdateTable"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._LogID = DataUtils.ConvertValue<int>(row["LogID"]);
					this._UserID = DataUtils.ConvertValue<int?>(row["UserID"]);
					this._RealName = DataUtils.ConvertValue<string>(row["RealName"]);
					this._LogKeyWord = DataUtils.ConvertValue<string>(row["LogKeyWord"]);
					this._LogIP = DataUtils.ConvertValue<string>(row["LogIP"]);
					this._SetType = DataUtils.ConvertValue<int?>(row["SetType"]);
					this._Operation = DataUtils.ConvertValue<string>(row["Operation"]);
					this._CreateDate = DataUtils.ConvertValue<DateTime?>(row["CreateDate"]);
					this._Remark = DataUtils.ConvertValue<string>(row["Remark"]);
					this._UpdateTable = DataUtils.ConvertValue<string>(row["UpdateTable"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_UserLogs");
				/// <summary>
			/// 日志ID
			/// </summary>
			public readonly static Field LogID = new Field("LogID","Sys_UserLogs","日志ID");
					/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field UserID = new Field("UserID","Sys_UserLogs","用户ID");
					/// <summary>
			/// 用户姓名
			/// </summary>
			public readonly static Field RealName = new Field("RealName","Sys_UserLogs","用户姓名");
					/// <summary>
			/// 操作模块
			/// </summary>
			public readonly static Field LogKeyWord = new Field("LogKeyWord","Sys_UserLogs","操作模块");
					/// <summary>
			/// 操作IP
			/// </summary>
			public readonly static Field LogIP = new Field("LogIP","Sys_UserLogs","操作IP");
					/// <summary>
			/// 操作类型
			/// </summary>
			public readonly static Field SetType = new Field("SetType","Sys_UserLogs","操作类型");
					/// <summary>
			/// 操作内容
			/// </summary>
			public readonly static Field Operation = new Field("Operation","Sys_UserLogs","操作内容");
					/// <summary>
			/// 操作日期
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","Sys_UserLogs","操作日期");
					/// <summary>
			/// 备注
			/// </summary>
			public readonly static Field Remark = new Field("Remark","Sys_UserLogs","备注");
					/// <summary>
			/// 触发更新表
			/// </summary>
			public readonly static Field UpdateTable = new Field("UpdateTable","Sys_UserLogs","触发更新表");
					}
		#endregion


	}
	#endregion
	
	#region 实体类Sys_Users
    /// <summary>
	/// 实体类Sys_Users 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Sys_Users : Entity 
	{
	 /// <summary>
	/// 实体类Sys_Users 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public Sys_Users():base("Sys_Users") {}

		#region Model

		
		private int _UserID;
		
		private string _UserName;
		
		private string _Pwd;
		
		private string _TrueName;
		
		private DateTime? _AddTime;
		
		private int? _Logins;
		
		private string _LoginIP;
		
		private DateTime? _LoginTime;
		
		private int? _NewGroupID;
		
		private bool? _IsLock;
		
		private int? _ShowNo;
		
		private DateTime? _LoginPevTime;
		
		/// <summary>
		/// 用户ID
		/// </summary>
		public int UserID
		{
			get{ return _UserID; }
			set
			{
				this.OnPropertyValueChange(_.UserID,_UserID,value);
				this._UserID=value;
			}
		}

		
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName
		{
			get{ return _UserName; }
			set
			{
				this.OnPropertyValueChange(_.UserName,_UserName,value);
				this._UserName=value;
			}
		}

		
		/// <summary>
		/// 密码
		/// </summary>
		public string Pwd
		{
			get{ return _Pwd; }
			set
			{
				this.OnPropertyValueChange(_.Pwd,_Pwd,value);
				this._Pwd=value;
			}
		}

		
		/// <summary>
		/// 真实姓名
		/// </summary>
		public string TrueName
		{
			get{ return _TrueName; }
			set
			{
				this.OnPropertyValueChange(_.TrueName,_TrueName,value);
				this._TrueName=value;
			}
		}

		
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 登录次数
		/// </summary>
		public int? Logins
		{
			get{ return _Logins; }
			set
			{
				this.OnPropertyValueChange(_.Logins,_Logins,value);
				this._Logins=value;
			}
		}

		
		/// <summary>
		/// 登录IP
		/// </summary>
		public string LoginIP
		{
			get{ return _LoginIP; }
			set
			{
				this.OnPropertyValueChange(_.LoginIP,_LoginIP,value);
				this._LoginIP=value;
			}
		}

		
		/// <summary>
		/// 登录时间
		/// </summary>
		public DateTime? LoginTime
		{
			get{ return _LoginTime; }
			set
			{
				this.OnPropertyValueChange(_.LoginTime,_LoginTime,value);
				this._LoginTime=value;
			}
		}

		
		/// <summary>
		/// 权限组ID
		/// </summary>
		public int? NewGroupID
		{
			get{ return _NewGroupID; }
			set
			{
				this.OnPropertyValueChange(_.NewGroupID,_NewGroupID,value);
				this._NewGroupID=value;
			}
		}

		
		/// <summary>
		/// 是否锁定
		/// </summary>
		public bool? IsLock
		{
			get{ return _IsLock; }
			set
			{
				this.OnPropertyValueChange(_.IsLock,_IsLock,value);
				this._IsLock=value;
			}
		}

		
		/// <summary>
		/// 排序号
		/// </summary>
		public int? ShowNo
		{
			get{ return _ShowNo; }
			set
			{
				this.OnPropertyValueChange(_.ShowNo,_ShowNo,value);
				this._ShowNo=value;
			}
		}

		
		/// <summary>
		/// 上次登录时间
		/// </summary>
		public DateTime? LoginPevTime
		{
			get{ return _LoginPevTime; }
			set
			{
				this.OnPropertyValueChange(_.LoginPevTime,_LoginPevTime,value);
				this._LoginPevTime=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.UserID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.UserID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.UserID,

			
			_.UserName,

			
			_.Pwd,

			
			_.TrueName,

			
			_.AddTime,

			
			_.Logins,

			
			_.LoginIP,

			
			_.LoginTime,

			
			_.NewGroupID,

			
			_.IsLock,

			
			_.ShowNo,

			
			_.LoginPevTime

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._UserID,

			
			this._UserName,

			
			this._Pwd,

			
			this._TrueName,

			
			this._AddTime,

			
			this._Logins,

			
			this._LoginIP,

			
			this._LoginTime,

			
			this._NewGroupID,

			
			this._IsLock,

			
			this._ShowNo,

			
			this._LoginPevTime

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._UserID = DataUtils.ConvertValue<int>(reader["UserID"]);
						this._UserName = DataUtils.ConvertValue<string>(reader["UserName"]);
						this._Pwd = DataUtils.ConvertValue<string>(reader["Pwd"]);
						this._TrueName = DataUtils.ConvertValue<string>(reader["TrueName"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Logins = DataUtils.ConvertValue<int?>(reader["Logins"]);
						this._LoginIP = DataUtils.ConvertValue<string>(reader["LoginIP"]);
						this._LoginTime = DataUtils.ConvertValue<DateTime?>(reader["LoginTime"]);
						this._NewGroupID = DataUtils.ConvertValue<int?>(reader["NewGroupID"]);
						this._IsLock = DataUtils.ConvertValue<bool?>(reader["IsLock"]);
						this._ShowNo = DataUtils.ConvertValue<int?>(reader["ShowNo"]);
						this._LoginPevTime = DataUtils.ConvertValue<DateTime?>(reader["LoginPevTime"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._UserID = DataUtils.ConvertValue<int>(row["UserID"]);
					this._UserName = DataUtils.ConvertValue<string>(row["UserName"]);
					this._Pwd = DataUtils.ConvertValue<string>(row["Pwd"]);
					this._TrueName = DataUtils.ConvertValue<string>(row["TrueName"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Logins = DataUtils.ConvertValue<int?>(row["Logins"]);
					this._LoginIP = DataUtils.ConvertValue<string>(row["LoginIP"]);
					this._LoginTime = DataUtils.ConvertValue<DateTime?>(row["LoginTime"]);
					this._NewGroupID = DataUtils.ConvertValue<int?>(row["NewGroupID"]);
					this._IsLock = DataUtils.ConvertValue<bool?>(row["IsLock"]);
					this._ShowNo = DataUtils.ConvertValue<int?>(row["ShowNo"]);
					this._LoginPevTime = DataUtils.ConvertValue<DateTime?>(row["LoginPevTime"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","Sys_Users");
				/// <summary>
			/// 用户ID
			/// </summary>
			public readonly static Field UserID = new Field("UserID","Sys_Users","用户ID");
					/// <summary>
			/// 用户名
			/// </summary>
			public readonly static Field UserName = new Field("UserName","Sys_Users","用户名");
					/// <summary>
			/// 密码
			/// </summary>
			public readonly static Field Pwd = new Field("Pwd","Sys_Users","密码");
					/// <summary>
			/// 真实姓名
			/// </summary>
			public readonly static Field TrueName = new Field("TrueName","Sys_Users","真实姓名");
					/// <summary>
			/// 添加时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","Sys_Users","添加时间");
					/// <summary>
			/// 登录次数
			/// </summary>
			public readonly static Field Logins = new Field("Logins","Sys_Users","登录次数");
					/// <summary>
			/// 登录IP
			/// </summary>
			public readonly static Field LoginIP = new Field("LoginIP","Sys_Users","登录IP");
					/// <summary>
			/// 登录时间
			/// </summary>
			public readonly static Field LoginTime = new Field("LoginTime","Sys_Users","登录时间");
					/// <summary>
			/// 权限组ID
			/// </summary>
			public readonly static Field NewGroupID = new Field("NewGroupID","Sys_Users","权限组ID");
					/// <summary>
			/// 是否锁定
			/// </summary>
			public readonly static Field IsLock = new Field("IsLock","Sys_Users","是否锁定");
					/// <summary>
			/// 排序号
			/// </summary>
			public readonly static Field ShowNo = new Field("ShowNo","Sys_Users","排序号");
					/// <summary>
			/// 上次登录时间
			/// </summary>
			public readonly static Field LoginPevTime = new Field("LoginPevTime","Sys_Users","上次登录时间");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_EmpInfo
    /// <summary>
	/// 实体类V_EmpInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_EmpInfo : Entity 
	{
	 /// <summary>
	/// 实体类V_EmpInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_EmpInfo():base("V_EmpInfo") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private string _EMNAME;
		
		private string _EMPSEX;
		
		private string _DEPMET;
		
		private int? _DEPMETID;
		
		private DateTime? _JOIDAT;
		
		private DateTime? _ENDDAT;
		
		private int? _StaffStatus;
		
		private DateTime? _ENTRYTIME;
		
		private int? _ConID;
		
		private string _ENGNAM;
		
		private string _COMPAY;
		
		private string _UEMAIL;
		
		private string _DepPath;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMNAME
		{
			get{ return _EMNAME; }
			set
			{
				this.OnPropertyValueChange(_.EMNAME,_EMNAME,value);
				this._EMNAME=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMPSEX
		{
			get{ return _EMPSEX; }
			set
			{
				this.OnPropertyValueChange(_.EMPSEX,_EMPSEX,value);
				this._EMPSEX=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DEPMET
		{
			get{ return _DEPMET; }
			set
			{
				this.OnPropertyValueChange(_.DEPMET,_DEPMET,value);
				this._DEPMET=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? DEPMETID
		{
			get{ return _DEPMETID; }
			set
			{
				this.OnPropertyValueChange(_.DEPMETID,_DEPMETID,value);
				this._DEPMETID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? JOIDAT
		{
			get{ return _JOIDAT; }
			set
			{
				this.OnPropertyValueChange(_.JOIDAT,_JOIDAT,value);
				this._JOIDAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ENDDAT
		{
			get{ return _ENDDAT; }
			set
			{
				this.OnPropertyValueChange(_.ENDDAT,_ENDDAT,value);
				this._ENDDAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StaffStatus
		{
			get{ return _StaffStatus; }
			set
			{
				this.OnPropertyValueChange(_.StaffStatus,_StaffStatus,value);
				this._StaffStatus=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ENTRYTIME
		{
			get{ return _ENTRYTIME; }
			set
			{
				this.OnPropertyValueChange(_.ENTRYTIME,_ENTRYTIME,value);
				this._ENTRYTIME=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? ConID
		{
			get{ return _ConID; }
			set
			{
				this.OnPropertyValueChange(_.ConID,_ConID,value);
				this._ConID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ENGNAM
		{
			get{ return _ENGNAM; }
			set
			{
				this.OnPropertyValueChange(_.ENGNAM,_ENGNAM,value);
				this._ENGNAM=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string COMPAY
		{
			get{ return _COMPAY; }
			set
			{
				this.OnPropertyValueChange(_.COMPAY,_COMPAY,value);
				this._COMPAY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DepPath
		{
			get{ return _DepPath; }
			set
			{
				this.OnPropertyValueChange(_.DepPath,_DepPath,value);
				this._DepPath=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.EMNAME,

			
			_.EMPSEX,

			
			_.DEPMET,

			
			_.DEPMETID,

			
			_.JOIDAT,

			
			_.ENDDAT,

			
			_.StaffStatus,

			
			_.ENTRYTIME,

			
			_.ConID,

			
			_.ENGNAM,

			
			_.COMPAY,

			
			_.UEMAIL,

			
			_.DepPath

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._EMNAME,

			
			this._EMPSEX,

			
			this._DEPMET,

			
			this._DEPMETID,

			
			this._JOIDAT,

			
			this._ENDDAT,

			
			this._StaffStatus,

			
			this._ENTRYTIME,

			
			this._ConID,

			
			this._ENGNAM,

			
			this._COMPAY,

			
			this._UEMAIL,

			
			this._DepPath

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._EMNAME = DataUtils.ConvertValue<string>(reader["EMNAME"]);
						this._EMPSEX = DataUtils.ConvertValue<string>(reader["EMPSEX"]);
						this._DEPMET = DataUtils.ConvertValue<string>(reader["DEPMET"]);
						this._DEPMETID = DataUtils.ConvertValue<int?>(reader["DEPMETID"]);
						this._JOIDAT = DataUtils.ConvertValue<DateTime?>(reader["JOIDAT"]);
						this._ENDDAT = DataUtils.ConvertValue<DateTime?>(reader["ENDDAT"]);
						this._StaffStatus = DataUtils.ConvertValue<int?>(reader["StaffStatus"]);
						this._ENTRYTIME = DataUtils.ConvertValue<DateTime?>(reader["ENTRYTIME"]);
						this._ConID = DataUtils.ConvertValue<int?>(reader["ConID"]);
						this._ENGNAM = DataUtils.ConvertValue<string>(reader["ENGNAM"]);
						this._COMPAY = DataUtils.ConvertValue<string>(reader["COMPAY"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._DepPath = DataUtils.ConvertValue<string>(reader["DepPath"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._EMNAME = DataUtils.ConvertValue<string>(row["EMNAME"]);
					this._EMPSEX = DataUtils.ConvertValue<string>(row["EMPSEX"]);
					this._DEPMET = DataUtils.ConvertValue<string>(row["DEPMET"]);
					this._DEPMETID = DataUtils.ConvertValue<int?>(row["DEPMETID"]);
					this._JOIDAT = DataUtils.ConvertValue<DateTime?>(row["JOIDAT"]);
					this._ENDDAT = DataUtils.ConvertValue<DateTime?>(row["ENDDAT"]);
					this._StaffStatus = DataUtils.ConvertValue<int?>(row["StaffStatus"]);
					this._ENTRYTIME = DataUtils.ConvertValue<DateTime?>(row["ENTRYTIME"]);
					this._ConID = DataUtils.ConvertValue<int?>(row["ConID"]);
					this._ENGNAM = DataUtils.ConvertValue<string>(row["ENGNAM"]);
					this._COMPAY = DataUtils.ConvertValue<string>(row["COMPAY"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._DepPath = DataUtils.ConvertValue<string>(row["DepPath"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_EmpInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMNAME = new Field("EMNAME","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMPSEX = new Field("EMPSEX","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DEPMET = new Field("DEPMET","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DEPMETID = new Field("DEPMETID","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field JOIDAT = new Field("JOIDAT","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ENDDAT = new Field("ENDDAT","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StaffStatus = new Field("StaffStatus","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ENTRYTIME = new Field("ENTRYTIME","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ConID = new Field("ConID","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ENGNAM = new Field("ENGNAM","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field COMPAY = new Field("COMPAY","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","V_EmpInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DepPath = new Field("DepPath","V_EmpInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_InrecdBase
    /// <summary>
	/// 实体类V_InrecdBase 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_InrecdBase : Entity 
	{
	 /// <summary>
	/// 实体类V_InrecdBase 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_InrecdBase():base("V_InrecdBase") {}

		#region Model

		
		private int _ID;
		
		private string _MaterNo;
		
		private string _MaterTitle;
		
		private string _MaterColor;
		
		private string _MaterBrand;
		
		private string _MaterModel;
		
		private string _MaterUnit;
		
		private int? _INVQTY;
		
		private int? _BATYPE;
		
		private string _DESTXT;
		
		private string _BAUNIT;
		
		private string _TipTitle;
		
		private DateTime? _TipData;
		
		private string _TipMail;
		
		private int? _USERID;
		
		private string _REMARK;
		
		private int? _Quantity;
		
		private int? _InrecdID;
		
		private decimal? _MatterPrice;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterNo
		{
			get{ return _MaterNo; }
			set
			{
				this.OnPropertyValueChange(_.MaterNo,_MaterNo,value);
				this._MaterNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterTitle
		{
			get{ return _MaterTitle; }
			set
			{
				this.OnPropertyValueChange(_.MaterTitle,_MaterTitle,value);
				this._MaterTitle=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterColor
		{
			get{ return _MaterColor; }
			set
			{
				this.OnPropertyValueChange(_.MaterColor,_MaterColor,value);
				this._MaterColor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterBrand
		{
			get{ return _MaterBrand; }
			set
			{
				this.OnPropertyValueChange(_.MaterBrand,_MaterBrand,value);
				this._MaterBrand=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterModel
		{
			get{ return _MaterModel; }
			set
			{
				this.OnPropertyValueChange(_.MaterModel,_MaterModel,value);
				this._MaterModel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterUnit
		{
			get{ return _MaterUnit; }
			set
			{
				this.OnPropertyValueChange(_.MaterUnit,_MaterUnit,value);
				this._MaterUnit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? INVQTY
		{
			get{ return _INVQTY; }
			set
			{
				this.OnPropertyValueChange(_.INVQTY,_INVQTY,value);
				this._INVQTY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? BATYPE
		{
			get{ return _BATYPE; }
			set
			{
				this.OnPropertyValueChange(_.BATYPE,_BATYPE,value);
				this._BATYPE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DESTXT
		{
			get{ return _DESTXT; }
			set
			{
				this.OnPropertyValueChange(_.DESTXT,_DESTXT,value);
				this._DESTXT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string BAUNIT
		{
			get{ return _BAUNIT; }
			set
			{
				this.OnPropertyValueChange(_.BAUNIT,_BAUNIT,value);
				this._BAUNIT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipTitle
		{
			get{ return _TipTitle; }
			set
			{
				this.OnPropertyValueChange(_.TipTitle,_TipTitle,value);
				this._TipTitle=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? TipData
		{
			get{ return _TipData; }
			set
			{
				this.OnPropertyValueChange(_.TipData,_TipData,value);
				this._TipData=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipMail
		{
			get{ return _TipMail; }
			set
			{
				this.OnPropertyValueChange(_.TipMail,_TipMail,value);
				this._TipMail=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? USERID
		{
			get{ return _USERID; }
			set
			{
				this.OnPropertyValueChange(_.USERID,_USERID,value);
				this._USERID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Quantity
		{
			get{ return _Quantity; }
			set
			{
				this.OnPropertyValueChange(_.Quantity,_Quantity,value);
				this._Quantity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? InrecdID
		{
			get{ return _InrecdID; }
			set
			{
				this.OnPropertyValueChange(_.InrecdID,_InrecdID,value);
				this._InrecdID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? MatterPrice
		{
			get{ return _MatterPrice; }
			set
			{
				this.OnPropertyValueChange(_.MatterPrice,_MatterPrice,value);
				this._MatterPrice=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.MaterNo,

			
			_.MaterTitle,

			
			_.MaterColor,

			
			_.MaterBrand,

			
			_.MaterModel,

			
			_.MaterUnit,

			
			_.INVQTY,

			
			_.BATYPE,

			
			_.DESTXT,

			
			_.BAUNIT,

			
			_.TipTitle,

			
			_.TipData,

			
			_.TipMail,

			
			_.USERID,

			
			_.REMARK,

			
			_.Quantity,

			
			_.InrecdID,

			
			_.MatterPrice

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._MaterNo,

			
			this._MaterTitle,

			
			this._MaterColor,

			
			this._MaterBrand,

			
			this._MaterModel,

			
			this._MaterUnit,

			
			this._INVQTY,

			
			this._BATYPE,

			
			this._DESTXT,

			
			this._BAUNIT,

			
			this._TipTitle,

			
			this._TipData,

			
			this._TipMail,

			
			this._USERID,

			
			this._REMARK,

			
			this._Quantity,

			
			this._InrecdID,

			
			this._MatterPrice

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._MaterNo = DataUtils.ConvertValue<string>(reader["MaterNo"]);
						this._MaterTitle = DataUtils.ConvertValue<string>(reader["MaterTitle"]);
						this._MaterColor = DataUtils.ConvertValue<string>(reader["MaterColor"]);
						this._MaterBrand = DataUtils.ConvertValue<string>(reader["MaterBrand"]);
						this._MaterModel = DataUtils.ConvertValue<string>(reader["MaterModel"]);
						this._MaterUnit = DataUtils.ConvertValue<string>(reader["MaterUnit"]);
						this._INVQTY = DataUtils.ConvertValue<int?>(reader["INVQTY"]);
						this._BATYPE = DataUtils.ConvertValue<int?>(reader["BATYPE"]);
						this._DESTXT = DataUtils.ConvertValue<string>(reader["DESTXT"]);
						this._BAUNIT = DataUtils.ConvertValue<string>(reader["BAUNIT"]);
						this._TipTitle = DataUtils.ConvertValue<string>(reader["TipTitle"]);
						this._TipData = DataUtils.ConvertValue<DateTime?>(reader["TipData"]);
						this._TipMail = DataUtils.ConvertValue<string>(reader["TipMail"]);
						this._USERID = DataUtils.ConvertValue<int?>(reader["USERID"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._Quantity = DataUtils.ConvertValue<int?>(reader["Quantity"]);
						this._InrecdID = DataUtils.ConvertValue<int?>(reader["InrecdID"]);
						this._MatterPrice = DataUtils.ConvertValue<decimal?>(reader["MatterPrice"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._MaterNo = DataUtils.ConvertValue<string>(row["MaterNo"]);
					this._MaterTitle = DataUtils.ConvertValue<string>(row["MaterTitle"]);
					this._MaterColor = DataUtils.ConvertValue<string>(row["MaterColor"]);
					this._MaterBrand = DataUtils.ConvertValue<string>(row["MaterBrand"]);
					this._MaterModel = DataUtils.ConvertValue<string>(row["MaterModel"]);
					this._MaterUnit = DataUtils.ConvertValue<string>(row["MaterUnit"]);
					this._INVQTY = DataUtils.ConvertValue<int?>(row["INVQTY"]);
					this._BATYPE = DataUtils.ConvertValue<int?>(row["BATYPE"]);
					this._DESTXT = DataUtils.ConvertValue<string>(row["DESTXT"]);
					this._BAUNIT = DataUtils.ConvertValue<string>(row["BAUNIT"]);
					this._TipTitle = DataUtils.ConvertValue<string>(row["TipTitle"]);
					this._TipData = DataUtils.ConvertValue<DateTime?>(row["TipData"]);
					this._TipMail = DataUtils.ConvertValue<string>(row["TipMail"]);
					this._USERID = DataUtils.ConvertValue<int?>(row["USERID"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._Quantity = DataUtils.ConvertValue<int?>(row["Quantity"]);
					this._InrecdID = DataUtils.ConvertValue<int?>(row["InrecdID"]);
					this._MatterPrice = DataUtils.ConvertValue<decimal?>(row["MatterPrice"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_InrecdBase");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterNo = new Field("MaterNo","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterTitle = new Field("MaterTitle","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterColor = new Field("MaterColor","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterBrand = new Field("MaterBrand","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterModel = new Field("MaterModel","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterUnit = new Field("MaterUnit","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field INVQTY = new Field("INVQTY","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BATYPE = new Field("BATYPE","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DESTXT = new Field("DESTXT","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BAUNIT = new Field("BAUNIT","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipTitle = new Field("TipTitle","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipData = new Field("TipData","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipMail = new Field("TipMail","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field USERID = new Field("USERID","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Quantity = new Field("Quantity","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field InrecdID = new Field("InrecdID","V_InrecdBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterPrice = new Field("MatterPrice","V_InrecdBase","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_MatterBase
    /// <summary>
	/// 实体类V_MatterBase 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_MatterBase : Entity 
	{
	 /// <summary>
	/// 实体类V_MatterBase 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_MatterBase():base("V_MatterBase") {}

		#region Model

		
		private int _Expr1;
		
		private string _Expr2;
		
		private string _MaterTitle;
		
		private string _MaterColor;
		
		private string _MaterBrand;
		
		private string _MaterModel;
		
		private string _MaterUnit;
		
		private int? _INVQTY;
		
		private int? _BATYPE;
		
		private string _DESTXT;
		
		private string _BAUNIT;
		
		private string _TipTitle;
		
		private DateTime? _TipData;
		
		private string _TipMail;
		
		private int? _USERID;
		
		private string _Expr3;
		
		private string _MaterNo;
		
		private int? _Quantity;
		
		private decimal? _MatterPrice;
		
		private int? _MatterID;
		
		/// <summary>
		/// 
		/// </summary>
		public int Expr1
		{
			get{ return _Expr1; }
			set
			{
				this.OnPropertyValueChange(_.Expr1,_Expr1,value);
				this._Expr1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Expr2
		{
			get{ return _Expr2; }
			set
			{
				this.OnPropertyValueChange(_.Expr2,_Expr2,value);
				this._Expr2=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterTitle
		{
			get{ return _MaterTitle; }
			set
			{
				this.OnPropertyValueChange(_.MaterTitle,_MaterTitle,value);
				this._MaterTitle=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterColor
		{
			get{ return _MaterColor; }
			set
			{
				this.OnPropertyValueChange(_.MaterColor,_MaterColor,value);
				this._MaterColor=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterBrand
		{
			get{ return _MaterBrand; }
			set
			{
				this.OnPropertyValueChange(_.MaterBrand,_MaterBrand,value);
				this._MaterBrand=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterModel
		{
			get{ return _MaterModel; }
			set
			{
				this.OnPropertyValueChange(_.MaterModel,_MaterModel,value);
				this._MaterModel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterUnit
		{
			get{ return _MaterUnit; }
			set
			{
				this.OnPropertyValueChange(_.MaterUnit,_MaterUnit,value);
				this._MaterUnit=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? INVQTY
		{
			get{ return _INVQTY; }
			set
			{
				this.OnPropertyValueChange(_.INVQTY,_INVQTY,value);
				this._INVQTY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? BATYPE
		{
			get{ return _BATYPE; }
			set
			{
				this.OnPropertyValueChange(_.BATYPE,_BATYPE,value);
				this._BATYPE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DESTXT
		{
			get{ return _DESTXT; }
			set
			{
				this.OnPropertyValueChange(_.DESTXT,_DESTXT,value);
				this._DESTXT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string BAUNIT
		{
			get{ return _BAUNIT; }
			set
			{
				this.OnPropertyValueChange(_.BAUNIT,_BAUNIT,value);
				this._BAUNIT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipTitle
		{
			get{ return _TipTitle; }
			set
			{
				this.OnPropertyValueChange(_.TipTitle,_TipTitle,value);
				this._TipTitle=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? TipData
		{
			get{ return _TipData; }
			set
			{
				this.OnPropertyValueChange(_.TipData,_TipData,value);
				this._TipData=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TipMail
		{
			get{ return _TipMail; }
			set
			{
				this.OnPropertyValueChange(_.TipMail,_TipMail,value);
				this._TipMail=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? USERID
		{
			get{ return _USERID; }
			set
			{
				this.OnPropertyValueChange(_.USERID,_USERID,value);
				this._USERID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Expr3
		{
			get{ return _Expr3; }
			set
			{
				this.OnPropertyValueChange(_.Expr3,_Expr3,value);
				this._Expr3=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string MaterNo
		{
			get{ return _MaterNo; }
			set
			{
				this.OnPropertyValueChange(_.MaterNo,_MaterNo,value);
				this._MaterNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Quantity
		{
			get{ return _Quantity; }
			set
			{
				this.OnPropertyValueChange(_.Quantity,_Quantity,value);
				this._Quantity=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? MatterPrice
		{
			get{ return _MatterPrice; }
			set
			{
				this.OnPropertyValueChange(_.MatterPrice,_MatterPrice,value);
				this._MatterPrice=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MatterID
		{
			get{ return _MatterID; }
			set
			{
				this.OnPropertyValueChange(_.MatterID,_MatterID,value);
				this._MatterID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.Expr1;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.Expr1};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.Expr1,

			
			_.Expr2,

			
			_.MaterTitle,

			
			_.MaterColor,

			
			_.MaterBrand,

			
			_.MaterModel,

			
			_.MaterUnit,

			
			_.INVQTY,

			
			_.BATYPE,

			
			_.DESTXT,

			
			_.BAUNIT,

			
			_.TipTitle,

			
			_.TipData,

			
			_.TipMail,

			
			_.USERID,

			
			_.Expr3,

			
			_.MaterNo,

			
			_.Quantity,

			
			_.MatterPrice,

			
			_.MatterID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._Expr1,

			
			this._Expr2,

			
			this._MaterTitle,

			
			this._MaterColor,

			
			this._MaterBrand,

			
			this._MaterModel,

			
			this._MaterUnit,

			
			this._INVQTY,

			
			this._BATYPE,

			
			this._DESTXT,

			
			this._BAUNIT,

			
			this._TipTitle,

			
			this._TipData,

			
			this._TipMail,

			
			this._USERID,

			
			this._Expr3,

			
			this._MaterNo,

			
			this._Quantity,

			
			this._MatterPrice,

			
			this._MatterID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._Expr1 = DataUtils.ConvertValue<int>(reader["Expr1"]);
						this._Expr2 = DataUtils.ConvertValue<string>(reader["Expr2"]);
						this._MaterTitle = DataUtils.ConvertValue<string>(reader["MaterTitle"]);
						this._MaterColor = DataUtils.ConvertValue<string>(reader["MaterColor"]);
						this._MaterBrand = DataUtils.ConvertValue<string>(reader["MaterBrand"]);
						this._MaterModel = DataUtils.ConvertValue<string>(reader["MaterModel"]);
						this._MaterUnit = DataUtils.ConvertValue<string>(reader["MaterUnit"]);
						this._INVQTY = DataUtils.ConvertValue<int?>(reader["INVQTY"]);
						this._BATYPE = DataUtils.ConvertValue<int?>(reader["BATYPE"]);
						this._DESTXT = DataUtils.ConvertValue<string>(reader["DESTXT"]);
						this._BAUNIT = DataUtils.ConvertValue<string>(reader["BAUNIT"]);
						this._TipTitle = DataUtils.ConvertValue<string>(reader["TipTitle"]);
						this._TipData = DataUtils.ConvertValue<DateTime?>(reader["TipData"]);
						this._TipMail = DataUtils.ConvertValue<string>(reader["TipMail"]);
						this._USERID = DataUtils.ConvertValue<int?>(reader["USERID"]);
						this._Expr3 = DataUtils.ConvertValue<string>(reader["Expr3"]);
						this._MaterNo = DataUtils.ConvertValue<string>(reader["MaterNo"]);
						this._Quantity = DataUtils.ConvertValue<int?>(reader["Quantity"]);
						this._MatterPrice = DataUtils.ConvertValue<decimal?>(reader["MatterPrice"]);
						this._MatterID = DataUtils.ConvertValue<int?>(reader["MatterID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._Expr1 = DataUtils.ConvertValue<int>(row["Expr1"]);
					this._Expr2 = DataUtils.ConvertValue<string>(row["Expr2"]);
					this._MaterTitle = DataUtils.ConvertValue<string>(row["MaterTitle"]);
					this._MaterColor = DataUtils.ConvertValue<string>(row["MaterColor"]);
					this._MaterBrand = DataUtils.ConvertValue<string>(row["MaterBrand"]);
					this._MaterModel = DataUtils.ConvertValue<string>(row["MaterModel"]);
					this._MaterUnit = DataUtils.ConvertValue<string>(row["MaterUnit"]);
					this._INVQTY = DataUtils.ConvertValue<int?>(row["INVQTY"]);
					this._BATYPE = DataUtils.ConvertValue<int?>(row["BATYPE"]);
					this._DESTXT = DataUtils.ConvertValue<string>(row["DESTXT"]);
					this._BAUNIT = DataUtils.ConvertValue<string>(row["BAUNIT"]);
					this._TipTitle = DataUtils.ConvertValue<string>(row["TipTitle"]);
					this._TipData = DataUtils.ConvertValue<DateTime?>(row["TipData"]);
					this._TipMail = DataUtils.ConvertValue<string>(row["TipMail"]);
					this._USERID = DataUtils.ConvertValue<int?>(row["USERID"]);
					this._Expr3 = DataUtils.ConvertValue<string>(row["Expr3"]);
					this._MaterNo = DataUtils.ConvertValue<string>(row["MaterNo"]);
					this._Quantity = DataUtils.ConvertValue<int?>(row["Quantity"]);
					this._MatterPrice = DataUtils.ConvertValue<decimal?>(row["MatterPrice"]);
					this._MatterID = DataUtils.ConvertValue<int?>(row["MatterID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_MatterBase");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr1 = new Field("Expr1","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr2 = new Field("Expr2","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterTitle = new Field("MaterTitle","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterColor = new Field("MaterColor","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterBrand = new Field("MaterBrand","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterModel = new Field("MaterModel","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterUnit = new Field("MaterUnit","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field INVQTY = new Field("INVQTY","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BATYPE = new Field("BATYPE","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DESTXT = new Field("DESTXT","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BAUNIT = new Field("BAUNIT","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipTitle = new Field("TipTitle","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipData = new Field("TipData","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TipMail = new Field("TipMail","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field USERID = new Field("USERID","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr3 = new Field("Expr3","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MaterNo = new Field("MaterNo","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Quantity = new Field("Quantity","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterPrice = new Field("MatterPrice","V_MatterBase","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MatterID = new Field("MatterID","V_MatterBase","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类V_ProjCusTor
    /// <summary>
	/// 实体类V_ProjCusTor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class V_ProjCusTor : Entity 
	{
	 /// <summary>
	/// 实体类V_ProjCusTor 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public V_ProjCusTor():base("V_ProjCusTor") {}

		#region Model

		
		private int _ID;
		
		private string _PRJNUB;
		
		private string _DESTON;
		
		private string _CONTAT;
		
		private string _COTYPE;
		
		private string _ADDRES;
		
		private string _STATUS;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private DateTime? _FinshTime;
		
		private string _Team_Mem;
		
		private string _ReMark;
		
		private string _CUTNUB;
		
		private string _CUTNAM;
		
		private string _Expr1;
		
		private string _TELPHO;
		
		private string _UEMAIL;
		
		private string _Expr2;
		
		private bool? _IsFlag;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PRJNUB
		{
			get{ return _PRJNUB; }
			set
			{
				this.OnPropertyValueChange(_.PRJNUB,_PRJNUB,value);
				this._PRJNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DESTON
		{
			get{ return _DESTON; }
			set
			{
				this.OnPropertyValueChange(_.DESTON,_DESTON,value);
				this._DESTON=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string COTYPE
		{
			get{ return _COTYPE; }
			set
			{
				this.OnPropertyValueChange(_.COTYPE,_COTYPE,value);
				this._COTYPE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string STATUS
		{
			get{ return _STATUS; }
			set
			{
				this.OnPropertyValueChange(_.STATUS,_STATUS,value);
				this._STATUS=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FinshTime
		{
			get{ return _FinshTime; }
			set
			{
				this.OnPropertyValueChange(_.FinshTime,_FinshTime,value);
				this._FinshTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Team_Mem
		{
			get{ return _Team_Mem; }
			set
			{
				this.OnPropertyValueChange(_.Team_Mem,_Team_Mem,value);
				this._Team_Mem=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ReMark
		{
			get{ return _ReMark; }
			set
			{
				this.OnPropertyValueChange(_.ReMark,_ReMark,value);
				this._ReMark=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Expr1
		{
			get{ return _Expr1; }
			set
			{
				this.OnPropertyValueChange(_.Expr1,_Expr1,value);
				this._Expr1=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TELPHO
		{
			get{ return _TELPHO; }
			set
			{
				this.OnPropertyValueChange(_.TELPHO,_TELPHO,value);
				this._TELPHO=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Expr2
		{
			get{ return _Expr2; }
			set
			{
				this.OnPropertyValueChange(_.Expr2,_Expr2,value);
				this._Expr2=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? IsFlag
		{
			get{ return _IsFlag; }
			set
			{
				this.OnPropertyValueChange(_.IsFlag,_IsFlag,value);
				this._IsFlag=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PRJNUB,

			
			_.DESTON,

			
			_.CONTAT,

			
			_.COTYPE,

			
			_.ADDRES,

			
			_.STATUS,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.FinshTime,

			
			_.Team_Mem,

			
			_.ReMark,

			
			_.CUTNUB,

			
			_.CUTNAM,

			
			_.Expr1,

			
			_.TELPHO,

			
			_.UEMAIL,

			
			_.Expr2,

			
			_.IsFlag

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PRJNUB,

			
			this._DESTON,

			
			this._CONTAT,

			
			this._COTYPE,

			
			this._ADDRES,

			
			this._STATUS,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._FinshTime,

			
			this._Team_Mem,

			
			this._ReMark,

			
			this._CUTNUB,

			
			this._CUTNAM,

			
			this._Expr1,

			
			this._TELPHO,

			
			this._UEMAIL,

			
			this._Expr2,

			
			this._IsFlag

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PRJNUB = DataUtils.ConvertValue<string>(reader["PRJNUB"]);
						this._DESTON = DataUtils.ConvertValue<string>(reader["DESTON"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._COTYPE = DataUtils.ConvertValue<string>(reader["COTYPE"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._STATUS = DataUtils.ConvertValue<string>(reader["STATUS"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._FinshTime = DataUtils.ConvertValue<DateTime?>(reader["FinshTime"]);
						this._Team_Mem = DataUtils.ConvertValue<string>(reader["Team_Mem"]);
						this._ReMark = DataUtils.ConvertValue<string>(reader["ReMark"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._Expr1 = DataUtils.ConvertValue<string>(reader["Expr1"]);
						this._TELPHO = DataUtils.ConvertValue<string>(reader["TELPHO"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._Expr2 = DataUtils.ConvertValue<string>(reader["Expr2"]);
						this._IsFlag = DataUtils.ConvertValue<bool?>(reader["IsFlag"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PRJNUB = DataUtils.ConvertValue<string>(row["PRJNUB"]);
					this._DESTON = DataUtils.ConvertValue<string>(row["DESTON"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._COTYPE = DataUtils.ConvertValue<string>(row["COTYPE"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._STATUS = DataUtils.ConvertValue<string>(row["STATUS"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._FinshTime = DataUtils.ConvertValue<DateTime?>(row["FinshTime"]);
					this._Team_Mem = DataUtils.ConvertValue<string>(row["Team_Mem"]);
					this._ReMark = DataUtils.ConvertValue<string>(row["ReMark"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._Expr1 = DataUtils.ConvertValue<string>(row["Expr1"]);
					this._TELPHO = DataUtils.ConvertValue<string>(row["TELPHO"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._Expr2 = DataUtils.ConvertValue<string>(row["Expr2"]);
					this._IsFlag = DataUtils.ConvertValue<bool?>(row["IsFlag"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","V_ProjCusTor");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PRJNUB = new Field("PRJNUB","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DESTON = new Field("DESTON","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field COTYPE = new Field("COTYPE","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field STATUS = new Field("STATUS","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field FinshTime = new Field("FinshTime","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Team_Mem = new Field("Team_Mem","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ReMark = new Field("ReMark","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr1 = new Field("Expr1","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TELPHO = new Field("TELPHO","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr2 = new Field("Expr2","V_ProjCusTor","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsFlag = new Field("IsFlag","V_ProjCusTor","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C1
    /// <summary>
	/// 实体类VI_C1 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C1 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C1 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C1():base("VI_C1") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C1");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C1","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C1","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C2
    /// <summary>
	/// 实体类VI_C2 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C2 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C2 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C2():base("VI_C2") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C2");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C2","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C2","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C3
    /// <summary>
	/// 实体类VI_C3 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C3 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C3 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C3():base("VI_C3") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C3");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C3","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C3","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C4
    /// <summary>
	/// 实体类VI_C4 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C4 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C4 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C4():base("VI_C4") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C4");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C4","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C4","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C5
    /// <summary>
	/// 实体类VI_C5 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C5 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C5 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C5():base("VI_C5") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C5");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C5","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C5","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C6
    /// <summary>
	/// 实体类VI_C6 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C6 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C6 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C6():base("VI_C6") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C6");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C6","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C6","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C7
    /// <summary>
	/// 实体类VI_C7 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C7 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C7 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C7():base("VI_C7") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C7");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C7","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C7","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C8
    /// <summary>
	/// 实体类VI_C8 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C8 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C8 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C8():base("VI_C8") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C8");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C8","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C8","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_C9
    /// <summary>
	/// 实体类VI_C9 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_C9 : Entity 
	{
	 /// <summary>
	/// 实体类VI_C9 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_C9():base("VI_C9") {}

		#region Model

		
		private int? _C;
		
		private int _ID;
		
		/// <summary>
		/// 
		/// </summary>
		public int? C
		{
			get{ return _C; }
			set
			{
				this.OnPropertyValueChange(_.C,_C,value);
				this._C=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.C,

			
			_.ID

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._C,

			
			this._ID

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._C = DataUtils.ConvertValue<int?>(reader["C"]);
						this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._C = DataUtils.ConvertValue<int?>(row["C"]);
					this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_C9");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field C = new Field("C","VI_C9","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_C9","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_ConInfo
    /// <summary>
	/// 实体类VI_ConInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_ConInfo : Entity 
	{
	 /// <summary>
	/// 实体类VI_ConInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_ConInfo():base("VI_ConInfo") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private string _EMNAME;
		
		private string _POST;
		
		private int? _StaffStatus;
		
		private DateTime? _JOIDAT;
		
		private DateTime? _ENDDAT;
		
		private string _DIRMGR;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMNAME
		{
			get{ return _EMNAME; }
			set
			{
				this.OnPropertyValueChange(_.EMNAME,_EMNAME,value);
				this._EMNAME=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string POST
		{
			get{ return _POST; }
			set
			{
				this.OnPropertyValueChange(_.POST,_POST,value);
				this._POST=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? StaffStatus
		{
			get{ return _StaffStatus; }
			set
			{
				this.OnPropertyValueChange(_.StaffStatus,_StaffStatus,value);
				this._StaffStatus=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? JOIDAT
		{
			get{ return _JOIDAT; }
			set
			{
				this.OnPropertyValueChange(_.JOIDAT,_JOIDAT,value);
				this._JOIDAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? ENDDAT
		{
			get{ return _ENDDAT; }
			set
			{
				this.OnPropertyValueChange(_.ENDDAT,_ENDDAT,value);
				this._ENDDAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string DIRMGR
		{
			get{ return _DIRMGR; }
			set
			{
				this.OnPropertyValueChange(_.DIRMGR,_DIRMGR,value);
				this._DIRMGR=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.EMNAME,

			
			_.POST,

			
			_.StaffStatus,

			
			_.JOIDAT,

			
			_.ENDDAT,

			
			_.DIRMGR

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._EMNAME,

			
			this._POST,

			
			this._StaffStatus,

			
			this._JOIDAT,

			
			this._ENDDAT,

			
			this._DIRMGR

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._EMNAME = DataUtils.ConvertValue<string>(reader["EMNAME"]);
						this._POST = DataUtils.ConvertValue<string>(reader["POST"]);
						this._StaffStatus = DataUtils.ConvertValue<int?>(reader["StaffStatus"]);
						this._JOIDAT = DataUtils.ConvertValue<DateTime?>(reader["JOIDAT"]);
						this._ENDDAT = DataUtils.ConvertValue<DateTime?>(reader["ENDDAT"]);
						this._DIRMGR = DataUtils.ConvertValue<string>(reader["DIRMGR"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._EMNAME = DataUtils.ConvertValue<string>(row["EMNAME"]);
					this._POST = DataUtils.ConvertValue<string>(row["POST"]);
					this._StaffStatus = DataUtils.ConvertValue<int?>(row["StaffStatus"]);
					this._JOIDAT = DataUtils.ConvertValue<DateTime?>(row["JOIDAT"]);
					this._ENDDAT = DataUtils.ConvertValue<DateTime?>(row["ENDDAT"]);
					this._DIRMGR = DataUtils.ConvertValue<string>(row["DIRMGR"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_ConInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMNAME = new Field("EMNAME","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field POST = new Field("POST","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field StaffStatus = new Field("StaffStatus","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field JOIDAT = new Field("JOIDAT","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ENDDAT = new Field("ENDDAT","VI_ConInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field DIRMGR = new Field("DIRMGR","VI_ConInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_EmpMSALY
    /// <summary>
	/// 实体类VI_EmpMSALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_EmpMSALY : Entity 
	{
	 /// <summary>
	/// 实体类VI_EmpMSALY 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_EmpMSALY():base("VI_EmpMSALY") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private decimal? _BSALRY;
		
		private decimal? _SSALRY;
		
		private decimal? _YSALRY;
		
		private decimal? _JSALARY;
		
		private decimal? _CSALRY;
		
		private decimal? _ASALRY;
		
		private decimal? _PSALRY;
		
		private decimal? _LSALRY;
		
		private decimal? _OSALRY;
		
		private decimal? _ABSENC;
		
		private decimal? _PERTAX;
		
		private decimal? _TOSALY;
		
		private int? _YEAR;
		
		private int? _MONTH;
		
		private string _TrueName;
		
		private decimal? _PERSAFE;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? BSALRY
		{
			get{ return _BSALRY; }
			set
			{
				this.OnPropertyValueChange(_.BSALRY,_BSALRY,value);
				this._BSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? SSALRY
		{
			get{ return _SSALRY; }
			set
			{
				this.OnPropertyValueChange(_.SSALRY,_SSALRY,value);
				this._SSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? YSALRY
		{
			get{ return _YSALRY; }
			set
			{
				this.OnPropertyValueChange(_.YSALRY,_YSALRY,value);
				this._YSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? JSALARY
		{
			get{ return _JSALARY; }
			set
			{
				this.OnPropertyValueChange(_.JSALARY,_JSALARY,value);
				this._JSALARY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? CSALRY
		{
			get{ return _CSALRY; }
			set
			{
				this.OnPropertyValueChange(_.CSALRY,_CSALRY,value);
				this._CSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? ASALRY
		{
			get{ return _ASALRY; }
			set
			{
				this.OnPropertyValueChange(_.ASALRY,_ASALRY,value);
				this._ASALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PSALRY
		{
			get{ return _PSALRY; }
			set
			{
				this.OnPropertyValueChange(_.PSALRY,_PSALRY,value);
				this._PSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? LSALRY
		{
			get{ return _LSALRY; }
			set
			{
				this.OnPropertyValueChange(_.LSALRY,_LSALRY,value);
				this._LSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? OSALRY
		{
			get{ return _OSALRY; }
			set
			{
				this.OnPropertyValueChange(_.OSALRY,_OSALRY,value);
				this._OSALRY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? ABSENC
		{
			get{ return _ABSENC; }
			set
			{
				this.OnPropertyValueChange(_.ABSENC,_ABSENC,value);
				this._ABSENC=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PERTAX
		{
			get{ return _PERTAX; }
			set
			{
				this.OnPropertyValueChange(_.PERTAX,_PERTAX,value);
				this._PERTAX=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? TOSALY
		{
			get{ return _TOSALY; }
			set
			{
				this.OnPropertyValueChange(_.TOSALY,_TOSALY,value);
				this._TOSALY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? YEAR
		{
			get{ return _YEAR; }
			set
			{
				this.OnPropertyValueChange(_.YEAR,_YEAR,value);
				this._YEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? MONTH
		{
			get{ return _MONTH; }
			set
			{
				this.OnPropertyValueChange(_.MONTH,_MONTH,value);
				this._MONTH=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TrueName
		{
			get{ return _TrueName; }
			set
			{
				this.OnPropertyValueChange(_.TrueName,_TrueName,value);
				this._TrueName=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? PERSAFE
		{
			get{ return _PERSAFE; }
			set
			{
				this.OnPropertyValueChange(_.PERSAFE,_PERSAFE,value);
				this._PERSAFE=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.BSALRY,

			
			_.SSALRY,

			
			_.YSALRY,

			
			_.JSALARY,

			
			_.CSALRY,

			
			_.ASALRY,

			
			_.PSALRY,

			
			_.LSALRY,

			
			_.OSALRY,

			
			_.ABSENC,

			
			_.PERTAX,

			
			_.TOSALY,

			
			_.YEAR,

			
			_.MONTH,

			
			_.TrueName,

			
			_.PERSAFE

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._BSALRY,

			
			this._SSALRY,

			
			this._YSALRY,

			
			this._JSALARY,

			
			this._CSALRY,

			
			this._ASALRY,

			
			this._PSALRY,

			
			this._LSALRY,

			
			this._OSALRY,

			
			this._ABSENC,

			
			this._PERTAX,

			
			this._TOSALY,

			
			this._YEAR,

			
			this._MONTH,

			
			this._TrueName,

			
			this._PERSAFE

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._BSALRY = DataUtils.ConvertValue<decimal?>(reader["BSALRY"]);
						this._SSALRY = DataUtils.ConvertValue<decimal?>(reader["SSALRY"]);
						this._YSALRY = DataUtils.ConvertValue<decimal?>(reader["YSALRY"]);
						this._JSALARY = DataUtils.ConvertValue<decimal?>(reader["JSALARY"]);
						this._CSALRY = DataUtils.ConvertValue<decimal?>(reader["CSALRY"]);
						this._ASALRY = DataUtils.ConvertValue<decimal?>(reader["ASALRY"]);
						this._PSALRY = DataUtils.ConvertValue<decimal?>(reader["PSALRY"]);
						this._LSALRY = DataUtils.ConvertValue<decimal?>(reader["LSALRY"]);
						this._OSALRY = DataUtils.ConvertValue<decimal?>(reader["OSALRY"]);
						this._ABSENC = DataUtils.ConvertValue<decimal?>(reader["ABSENC"]);
						this._PERTAX = DataUtils.ConvertValue<decimal?>(reader["PERTAX"]);
						this._TOSALY = DataUtils.ConvertValue<decimal?>(reader["TOSALY"]);
						this._YEAR = DataUtils.ConvertValue<int?>(reader["YEAR"]);
						this._MONTH = DataUtils.ConvertValue<int?>(reader["MONTH"]);
						this._TrueName = DataUtils.ConvertValue<string>(reader["TrueName"]);
						this._PERSAFE = DataUtils.ConvertValue<decimal?>(reader["PERSAFE"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._BSALRY = DataUtils.ConvertValue<decimal?>(row["BSALRY"]);
					this._SSALRY = DataUtils.ConvertValue<decimal?>(row["SSALRY"]);
					this._YSALRY = DataUtils.ConvertValue<decimal?>(row["YSALRY"]);
					this._JSALARY = DataUtils.ConvertValue<decimal?>(row["JSALARY"]);
					this._CSALRY = DataUtils.ConvertValue<decimal?>(row["CSALRY"]);
					this._ASALRY = DataUtils.ConvertValue<decimal?>(row["ASALRY"]);
					this._PSALRY = DataUtils.ConvertValue<decimal?>(row["PSALRY"]);
					this._LSALRY = DataUtils.ConvertValue<decimal?>(row["LSALRY"]);
					this._OSALRY = DataUtils.ConvertValue<decimal?>(row["OSALRY"]);
					this._ABSENC = DataUtils.ConvertValue<decimal?>(row["ABSENC"]);
					this._PERTAX = DataUtils.ConvertValue<decimal?>(row["PERTAX"]);
					this._TOSALY = DataUtils.ConvertValue<decimal?>(row["TOSALY"]);
					this._YEAR = DataUtils.ConvertValue<int?>(row["YEAR"]);
					this._MONTH = DataUtils.ConvertValue<int?>(row["MONTH"]);
					this._TrueName = DataUtils.ConvertValue<string>(row["TrueName"]);
					this._PERSAFE = DataUtils.ConvertValue<decimal?>(row["PERSAFE"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_EmpMSALY");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field BSALRY = new Field("BSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field SSALRY = new Field("SSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field YSALRY = new Field("YSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field JSALARY = new Field("JSALARY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CSALRY = new Field("CSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ASALRY = new Field("ASALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PSALRY = new Field("PSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LSALRY = new Field("LSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field OSALRY = new Field("OSALRY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ABSENC = new Field("ABSENC","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PERTAX = new Field("PERTAX","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TOSALY = new Field("TOSALY","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field YEAR = new Field("YEAR","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field MONTH = new Field("MONTH","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TrueName = new Field("TrueName","VI_EmpMSALY","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PERSAFE = new Field("PERSAFE","VI_EmpMSALY","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_Popayf
    /// <summary>
	/// 实体类VI_Popayf 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_Popayf : Entity 
	{
	 /// <summary>
	/// 实体类VI_Popayf 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_Popayf():base("VI_Popayf") {}

		#region Model

		
		private int _ID;
		
		private string _PONUBR;
		
		private bool? _CHKTAX;
		
		private string _PayNo;
		
		private decimal? _REMOUT;
		
		private DateTime? _REDATE;
		
		private string _INSTAS;
		
		private string _INVNUB;
		
		private decimal? _IAMOUT;
		
		private DateTime? _INDATE;
		
		private string _PERSON;
		
		private decimal? _ARAMOT;
		
		private string _REMARK;
		
		private string _Adder;
		
		private int? _AddID;
		
		private DateTime? _AddTime;
		
		private decimal? _Sheng;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PONUBR
		{
			get{ return _PONUBR; }
			set
			{
				this.OnPropertyValueChange(_.PONUBR,_PONUBR,value);
				this._PONUBR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public bool? CHKTAX
		{
			get{ return _CHKTAX; }
			set
			{
				this.OnPropertyValueChange(_.CHKTAX,_CHKTAX,value);
				this._CHKTAX=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PayNo
		{
			get{ return _PayNo; }
			set
			{
				this.OnPropertyValueChange(_.PayNo,_PayNo,value);
				this._PayNo=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? REMOUT
		{
			get{ return _REMOUT; }
			set
			{
				this.OnPropertyValueChange(_.REMOUT,_REMOUT,value);
				this._REMOUT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? REDATE
		{
			get{ return _REDATE; }
			set
			{
				this.OnPropertyValueChange(_.REDATE,_REDATE,value);
				this._REDATE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string INSTAS
		{
			get{ return _INSTAS; }
			set
			{
				this.OnPropertyValueChange(_.INSTAS,_INSTAS,value);
				this._INSTAS=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string INVNUB
		{
			get{ return _INVNUB; }
			set
			{
				this.OnPropertyValueChange(_.INVNUB,_INVNUB,value);
				this._INVNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? IAMOUT
		{
			get{ return _IAMOUT; }
			set
			{
				this.OnPropertyValueChange(_.IAMOUT,_IAMOUT,value);
				this._IAMOUT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? INDATE
		{
			get{ return _INDATE; }
			set
			{
				this.OnPropertyValueChange(_.INDATE,_INDATE,value);
				this._INDATE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PERSON
		{
			get{ return _PERSON; }
			set
			{
				this.OnPropertyValueChange(_.PERSON,_PERSON,value);
				this._PERSON=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? ARAMOT
		{
			get{ return _ARAMOT; }
			set
			{
				this.OnPropertyValueChange(_.ARAMOT,_ARAMOT,value);
				this._ARAMOT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string REMARK
		{
			get{ return _REMARK; }
			set
			{
				this.OnPropertyValueChange(_.REMARK,_REMARK,value);
				this._REMARK=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? Sheng
		{
			get{ return _Sheng; }
			set
			{
				this.OnPropertyValueChange(_.Sheng,_Sheng,value);
				this._Sheng=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.PONUBR,

			
			_.CHKTAX,

			
			_.PayNo,

			
			_.REMOUT,

			
			_.REDATE,

			
			_.INSTAS,

			
			_.INVNUB,

			
			_.IAMOUT,

			
			_.INDATE,

			
			_.PERSON,

			
			_.ARAMOT,

			
			_.REMARK,

			
			_.Adder,

			
			_.AddID,

			
			_.AddTime,

			
			_.Sheng

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._PONUBR,

			
			this._CHKTAX,

			
			this._PayNo,

			
			this._REMOUT,

			
			this._REDATE,

			
			this._INSTAS,

			
			this._INVNUB,

			
			this._IAMOUT,

			
			this._INDATE,

			
			this._PERSON,

			
			this._ARAMOT,

			
			this._REMARK,

			
			this._Adder,

			
			this._AddID,

			
			this._AddTime,

			
			this._Sheng

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._PONUBR = DataUtils.ConvertValue<string>(reader["PONUBR"]);
						this._CHKTAX = DataUtils.ConvertValue<bool?>(reader["CHKTAX"]);
						this._PayNo = DataUtils.ConvertValue<string>(reader["PayNo"]);
						this._REMOUT = DataUtils.ConvertValue<decimal?>(reader["REMOUT"]);
						this._REDATE = DataUtils.ConvertValue<DateTime?>(reader["REDATE"]);
						this._INSTAS = DataUtils.ConvertValue<string>(reader["INSTAS"]);
						this._INVNUB = DataUtils.ConvertValue<string>(reader["INVNUB"]);
						this._IAMOUT = DataUtils.ConvertValue<decimal?>(reader["IAMOUT"]);
						this._INDATE = DataUtils.ConvertValue<DateTime?>(reader["INDATE"]);
						this._PERSON = DataUtils.ConvertValue<string>(reader["PERSON"]);
						this._ARAMOT = DataUtils.ConvertValue<decimal?>(reader["ARAMOT"]);
						this._REMARK = DataUtils.ConvertValue<string>(reader["REMARK"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Sheng = DataUtils.ConvertValue<decimal?>(reader["Sheng"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._PONUBR = DataUtils.ConvertValue<string>(row["PONUBR"]);
					this._CHKTAX = DataUtils.ConvertValue<bool?>(row["CHKTAX"]);
					this._PayNo = DataUtils.ConvertValue<string>(row["PayNo"]);
					this._REMOUT = DataUtils.ConvertValue<decimal?>(row["REMOUT"]);
					this._REDATE = DataUtils.ConvertValue<DateTime?>(row["REDATE"]);
					this._INSTAS = DataUtils.ConvertValue<string>(row["INSTAS"]);
					this._INVNUB = DataUtils.ConvertValue<string>(row["INVNUB"]);
					this._IAMOUT = DataUtils.ConvertValue<decimal?>(row["IAMOUT"]);
					this._INDATE = DataUtils.ConvertValue<DateTime?>(row["INDATE"]);
					this._PERSON = DataUtils.ConvertValue<string>(row["PERSON"]);
					this._ARAMOT = DataUtils.ConvertValue<decimal?>(row["ARAMOT"]);
					this._REMARK = DataUtils.ConvertValue<string>(row["REMARK"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Sheng = DataUtils.ConvertValue<decimal?>(row["Sheng"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_Popayf");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PONUBR = new Field("PONUBR","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CHKTAX = new Field("CHKTAX","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PayNo = new Field("PayNo","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field REMOUT = new Field("REMOUT","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field REDATE = new Field("REDATE","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field INSTAS = new Field("INSTAS","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field INVNUB = new Field("INVNUB","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field IAMOUT = new Field("IAMOUT","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field INDATE = new Field("INDATE","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PERSON = new Field("PERSON","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ARAMOT = new Field("ARAMOT","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field REMARK = new Field("REMARK","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","VI_Popayf","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Sheng = new Field("Sheng","VI_Popayf","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_ProCusInfo
    /// <summary>
	/// 实体类VI_ProCusInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_ProCusInfo : Entity 
	{
	 /// <summary>
	/// 实体类VI_ProCusInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_ProCusInfo():base("VI_ProCusInfo") {}

		#region Model

		
		private int _ID;
		
		private string _CUTNUB;
		
		private string _CUTYPE;
		
		private string _ElseTel;
		
		private string _CUTNAM;
		
		private string _ADDRES;
		
		private string _CONTAT;
		
		private string _TELPHO;
		
		private string _UEMAIL;
		
		private int? _AddID;
		
		private string _Adder;
		
		private DateTime? _AddTime;
		
		private string _PingYing;
		
		private string _HomeTel;
		
		private string _CUTYPE_FI;
		
		private string _CUTYPE_SE;
		
		private string _CUTYPE_TH;
		
		private string _CITY;
		
		private int? _REID;
		
		private string _Expr1;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNUB
		{
			get{ return _CUTNUB; }
			set
			{
				this.OnPropertyValueChange(_.CUTNUB,_CUTNUB,value);
				this._CUTNUB=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTYPE
		{
			get{ return _CUTYPE; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE,_CUTYPE,value);
				this._CUTYPE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ElseTel
		{
			get{ return _ElseTel; }
			set
			{
				this.OnPropertyValueChange(_.ElseTel,_ElseTel,value);
				this._ElseTel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTNAM
		{
			get{ return _CUTNAM; }
			set
			{
				this.OnPropertyValueChange(_.CUTNAM,_CUTNAM,value);
				this._CUTNAM=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string ADDRES
		{
			get{ return _ADDRES; }
			set
			{
				this.OnPropertyValueChange(_.ADDRES,_ADDRES,value);
				this._ADDRES=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CONTAT
		{
			get{ return _CONTAT; }
			set
			{
				this.OnPropertyValueChange(_.CONTAT,_CONTAT,value);
				this._CONTAT=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string TELPHO
		{
			get{ return _TELPHO; }
			set
			{
				this.OnPropertyValueChange(_.TELPHO,_TELPHO,value);
				this._TELPHO=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string UEMAIL
		{
			get{ return _UEMAIL; }
			set
			{
				this.OnPropertyValueChange(_.UEMAIL,_UEMAIL,value);
				this._UEMAIL=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? AddID
		{
			get{ return _AddID; }
			set
			{
				this.OnPropertyValueChange(_.AddID,_AddID,value);
				this._AddID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Adder
		{
			get{ return _Adder; }
			set
			{
				this.OnPropertyValueChange(_.Adder,_Adder,value);
				this._Adder=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string PingYing
		{
			get{ return _PingYing; }
			set
			{
				this.OnPropertyValueChange(_.PingYing,_PingYing,value);
				this._PingYing=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string HomeTel
		{
			get{ return _HomeTel; }
			set
			{
				this.OnPropertyValueChange(_.HomeTel,_HomeTel,value);
				this._HomeTel=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTYPE_FI
		{
			get{ return _CUTYPE_FI; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_FI,_CUTYPE_FI,value);
				this._CUTYPE_FI=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTYPE_SE
		{
			get{ return _CUTYPE_SE; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_SE,_CUTYPE_SE,value);
				this._CUTYPE_SE=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CUTYPE_TH
		{
			get{ return _CUTYPE_TH; }
			set
			{
				this.OnPropertyValueChange(_.CUTYPE_TH,_CUTYPE_TH,value);
				this._CUTYPE_TH=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string CITY
		{
			get{ return _CITY; }
			set
			{
				this.OnPropertyValueChange(_.CITY,_CITY,value);
				this._CITY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? REID
		{
			get{ return _REID; }
			set
			{
				this.OnPropertyValueChange(_.REID,_REID,value);
				this._REID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string Expr1
		{
			get{ return _Expr1; }
			set
			{
				this.OnPropertyValueChange(_.Expr1,_Expr1,value);
				this._Expr1=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.CUTNUB,

			
			_.CUTYPE,

			
			_.ElseTel,

			
			_.CUTNAM,

			
			_.ADDRES,

			
			_.CONTAT,

			
			_.TELPHO,

			
			_.UEMAIL,

			
			_.AddID,

			
			_.Adder,

			
			_.AddTime,

			
			_.PingYing,

			
			_.HomeTel,

			
			_.CUTYPE_FI,

			
			_.CUTYPE_SE,

			
			_.CUTYPE_TH,

			
			_.CITY,

			
			_.REID,

			
			_.Expr1

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._CUTNUB,

			
			this._CUTYPE,

			
			this._ElseTel,

			
			this._CUTNAM,

			
			this._ADDRES,

			
			this._CONTAT,

			
			this._TELPHO,

			
			this._UEMAIL,

			
			this._AddID,

			
			this._Adder,

			
			this._AddTime,

			
			this._PingYing,

			
			this._HomeTel,

			
			this._CUTYPE_FI,

			
			this._CUTYPE_SE,

			
			this._CUTYPE_TH,

			
			this._CITY,

			
			this._REID,

			
			this._Expr1

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._CUTNUB = DataUtils.ConvertValue<string>(reader["CUTNUB"]);
						this._CUTYPE = DataUtils.ConvertValue<string>(reader["CUTYPE"]);
						this._ElseTel = DataUtils.ConvertValue<string>(reader["ElseTel"]);
						this._CUTNAM = DataUtils.ConvertValue<string>(reader["CUTNAM"]);
						this._ADDRES = DataUtils.ConvertValue<string>(reader["ADDRES"]);
						this._CONTAT = DataUtils.ConvertValue<string>(reader["CONTAT"]);
						this._TELPHO = DataUtils.ConvertValue<string>(reader["TELPHO"]);
						this._UEMAIL = DataUtils.ConvertValue<string>(reader["UEMAIL"]);
						this._AddID = DataUtils.ConvertValue<int?>(reader["AddID"]);
						this._Adder = DataUtils.ConvertValue<string>(reader["Adder"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._PingYing = DataUtils.ConvertValue<string>(reader["PingYing"]);
						this._HomeTel = DataUtils.ConvertValue<string>(reader["HomeTel"]);
						this._CUTYPE_FI = DataUtils.ConvertValue<string>(reader["CUTYPE_FI"]);
						this._CUTYPE_SE = DataUtils.ConvertValue<string>(reader["CUTYPE_SE"]);
						this._CUTYPE_TH = DataUtils.ConvertValue<string>(reader["CUTYPE_TH"]);
						this._CITY = DataUtils.ConvertValue<string>(reader["CITY"]);
						this._REID = DataUtils.ConvertValue<int?>(reader["REID"]);
						this._Expr1 = DataUtils.ConvertValue<string>(reader["Expr1"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._CUTNUB = DataUtils.ConvertValue<string>(row["CUTNUB"]);
					this._CUTYPE = DataUtils.ConvertValue<string>(row["CUTYPE"]);
					this._ElseTel = DataUtils.ConvertValue<string>(row["ElseTel"]);
					this._CUTNAM = DataUtils.ConvertValue<string>(row["CUTNAM"]);
					this._ADDRES = DataUtils.ConvertValue<string>(row["ADDRES"]);
					this._CONTAT = DataUtils.ConvertValue<string>(row["CONTAT"]);
					this._TELPHO = DataUtils.ConvertValue<string>(row["TELPHO"]);
					this._UEMAIL = DataUtils.ConvertValue<string>(row["UEMAIL"]);
					this._AddID = DataUtils.ConvertValue<int?>(row["AddID"]);
					this._Adder = DataUtils.ConvertValue<string>(row["Adder"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._PingYing = DataUtils.ConvertValue<string>(row["PingYing"]);
					this._HomeTel = DataUtils.ConvertValue<string>(row["HomeTel"]);
					this._CUTYPE_FI = DataUtils.ConvertValue<string>(row["CUTYPE_FI"]);
					this._CUTYPE_SE = DataUtils.ConvertValue<string>(row["CUTYPE_SE"]);
					this._CUTYPE_TH = DataUtils.ConvertValue<string>(row["CUTYPE_TH"]);
					this._CITY = DataUtils.ConvertValue<string>(row["CITY"]);
					this._REID = DataUtils.ConvertValue<int?>(row["REID"]);
					this._Expr1 = DataUtils.ConvertValue<string>(row["Expr1"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_ProCusInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNUB = new Field("CUTNUB","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTYPE = new Field("CUTYPE","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ElseTel = new Field("ElseTel","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTNAM = new Field("CUTNAM","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field ADDRES = new Field("ADDRES","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CONTAT = new Field("CONTAT","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TELPHO = new Field("TELPHO","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field UEMAIL = new Field("UEMAIL","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddID = new Field("AddID","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Adder = new Field("Adder","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field PingYing = new Field("PingYing","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field HomeTel = new Field("HomeTel","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTYPE_FI = new Field("CUTYPE_FI","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTYPE_SE = new Field("CUTYPE_SE","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CUTYPE_TH = new Field("CUTYPE_TH","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field CITY = new Field("CITY","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field REID = new Field("REID","VI_ProCusInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Expr1 = new Field("Expr1","VI_ProCusInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类VI_TVCATNInfo
    /// <summary>
	/// 实体类VI_TVCATNInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class VI_TVCATNInfo : Entity 
	{
	 /// <summary>
	/// 实体类VI_TVCATNInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public VI_TVCATNInfo():base("VI_TVCATNInfo") {}

		#region Model

		
		private int _ID;
		
		private string _EMPLID;
		
		private int? _VTYEAR;
		
		private DateTime? _VAYEAR;
		
		private DateTime? _TOYEAR;
		
		private decimal? _TOLQTY;
		
		private decimal? _COMQTY;
		
		private decimal? _LEFQTY;
		
		private string _EMNAME;
		
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMPLID
		{
			get{ return _EMPLID; }
			set
			{
				this.OnPropertyValueChange(_.EMPLID,_EMPLID,value);
				this._EMPLID=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? VTYEAR
		{
			get{ return _VTYEAR; }
			set
			{
				this.OnPropertyValueChange(_.VTYEAR,_VTYEAR,value);
				this._VTYEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? VAYEAR
		{
			get{ return _VAYEAR; }
			set
			{
				this.OnPropertyValueChange(_.VAYEAR,_VAYEAR,value);
				this._VAYEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public DateTime? TOYEAR
		{
			get{ return _TOYEAR; }
			set
			{
				this.OnPropertyValueChange(_.TOYEAR,_TOYEAR,value);
				this._TOYEAR=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? TOLQTY
		{
			get{ return _TOLQTY; }
			set
			{
				this.OnPropertyValueChange(_.TOLQTY,_TOLQTY,value);
				this._TOLQTY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? COMQTY
		{
			get{ return _COMQTY; }
			set
			{
				this.OnPropertyValueChange(_.COMQTY,_COMQTY,value);
				this._COMQTY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public decimal? LEFQTY
		{
			get{ return _LEFQTY; }
			set
			{
				this.OnPropertyValueChange(_.LEFQTY,_LEFQTY,value);
				this._LEFQTY=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public string EMNAME
		{
			get{ return _EMNAME; }
			set
			{
				this.OnPropertyValueChange(_.EMNAME,_EMNAME,value);
				this._EMNAME=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.EMPLID,

			
			_.VTYEAR,

			
			_.VAYEAR,

			
			_.TOYEAR,

			
			_.TOLQTY,

			
			_.COMQTY,

			
			_.LEFQTY,

			
			_.EMNAME

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._EMPLID,

			
			this._VTYEAR,

			
			this._VAYEAR,

			
			this._TOYEAR,

			
			this._TOLQTY,

			
			this._COMQTY,

			
			this._LEFQTY,

			
			this._EMNAME

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._EMPLID = DataUtils.ConvertValue<string>(reader["EMPLID"]);
						this._VTYEAR = DataUtils.ConvertValue<int?>(reader["VTYEAR"]);
						this._VAYEAR = DataUtils.ConvertValue<DateTime?>(reader["VAYEAR"]);
						this._TOYEAR = DataUtils.ConvertValue<DateTime?>(reader["TOYEAR"]);
						this._TOLQTY = DataUtils.ConvertValue<decimal?>(reader["TOLQTY"]);
						this._COMQTY = DataUtils.ConvertValue<decimal?>(reader["COMQTY"]);
						this._LEFQTY = DataUtils.ConvertValue<decimal?>(reader["LEFQTY"]);
						this._EMNAME = DataUtils.ConvertValue<string>(reader["EMNAME"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._EMPLID = DataUtils.ConvertValue<string>(row["EMPLID"]);
					this._VTYEAR = DataUtils.ConvertValue<int?>(row["VTYEAR"]);
					this._VAYEAR = DataUtils.ConvertValue<DateTime?>(row["VAYEAR"]);
					this._TOYEAR = DataUtils.ConvertValue<DateTime?>(row["TOYEAR"]);
					this._TOLQTY = DataUtils.ConvertValue<decimal?>(row["TOLQTY"]);
					this._COMQTY = DataUtils.ConvertValue<decimal?>(row["COMQTY"]);
					this._LEFQTY = DataUtils.ConvertValue<decimal?>(row["LEFQTY"]);
					this._EMNAME = DataUtils.ConvertValue<string>(row["EMNAME"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","VI_TVCATNInfo");
				/// <summary>
			/// 
			/// </summary>
			public readonly static Field ID = new Field("ID","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMPLID = new Field("EMPLID","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field VTYEAR = new Field("VTYEAR","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field VAYEAR = new Field("VAYEAR","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TOYEAR = new Field("TOYEAR","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field TOLQTY = new Field("TOLQTY","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field COMQTY = new Field("COMQTY","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field LEFQTY = new Field("LEFQTY","VI_TVCATNInfo","");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field EMNAME = new Field("EMNAME","VI_TVCATNInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类WorkFlow_AuditInfo
    /// <summary>
	/// 实体类WorkFlow_AuditInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class WorkFlow_AuditInfo : Entity 
	{
	 /// <summary>
	/// 实体类WorkFlow_AuditInfo 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public WorkFlow_AuditInfo():base("WorkFlow_AuditInfo") {}

		#region Model

		
		private int _ID;
		
		private string _WorkFlowTitle;
		
		private int? _AuditUid;
		
		private string _WorkFlowUrl;
		
		private DateTime? _AddTime;
		
		private int? _Mtype;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 流程标题
		/// </summary>
		public string WorkFlowTitle
		{
			get{ return _WorkFlowTitle; }
			set
			{
				this.OnPropertyValueChange(_.WorkFlowTitle,_WorkFlowTitle,value);
				this._WorkFlowTitle=value;
			}
		}

		
		/// <summary>
		/// 审核人
		/// </summary>
		public int? AuditUid
		{
			get{ return _AuditUid; }
			set
			{
				this.OnPropertyValueChange(_.AuditUid,_AuditUid,value);
				this._AuditUid=value;
			}
		}

		
		/// <summary>
		/// 审批URL
		/// </summary>
		public string WorkFlowUrl
		{
			get{ return _WorkFlowUrl; }
			set
			{
				this.OnPropertyValueChange(_.WorkFlowUrl,_WorkFlowUrl,value);
				this._WorkFlowUrl=value;
			}
		}

		
		/// <summary>
		/// 申请时间
		/// </summary>
		public DateTime? AddTime
		{
			get{ return _AddTime; }
			set
			{
				this.OnPropertyValueChange(_.AddTime,_AddTime,value);
				this._AddTime=value;
			}
		}

		
		/// <summary>
		/// 
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.WorkFlowTitle,

			
			_.AuditUid,

			
			_.WorkFlowUrl,

			
			_.AddTime,

			
			_.Mtype

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._WorkFlowTitle,

			
			this._AuditUid,

			
			this._WorkFlowUrl,

			
			this._AddTime,

			
			this._Mtype

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._WorkFlowTitle = DataUtils.ConvertValue<string>(reader["WorkFlowTitle"]);
						this._AuditUid = DataUtils.ConvertValue<int?>(reader["AuditUid"]);
						this._WorkFlowUrl = DataUtils.ConvertValue<string>(reader["WorkFlowUrl"]);
						this._AddTime = DataUtils.ConvertValue<DateTime?>(reader["AddTime"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._WorkFlowTitle = DataUtils.ConvertValue<string>(row["WorkFlowTitle"]);
					this._AuditUid = DataUtils.ConvertValue<int?>(row["AuditUid"]);
					this._WorkFlowUrl = DataUtils.ConvertValue<string>(row["WorkFlowUrl"]);
					this._AddTime = DataUtils.ConvertValue<DateTime?>(row["AddTime"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","WorkFlow_AuditInfo");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","WorkFlow_AuditInfo","唯一标识");
					/// <summary>
			/// 流程标题
			/// </summary>
			public readonly static Field WorkFlowTitle = new Field("WorkFlowTitle","WorkFlow_AuditInfo","流程标题");
					/// <summary>
			/// 审核人
			/// </summary>
			public readonly static Field AuditUid = new Field("AuditUid","WorkFlow_AuditInfo","审核人");
					/// <summary>
			/// 审批URL
			/// </summary>
			public readonly static Field WorkFlowUrl = new Field("WorkFlowUrl","WorkFlow_AuditInfo","审批URL");
					/// <summary>
			/// 申请时间
			/// </summary>
			public readonly static Field AddTime = new Field("AddTime","WorkFlow_AuditInfo","申请时间");
					/// <summary>
			/// 
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","WorkFlow_AuditInfo","");
					}
		#endregion


	}
	#endregion
	
	#region 实体类WorkFlow_TypeTOID
    /// <summary>
	/// 实体类WorkFlow_TypeTOID 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class WorkFlow_TypeTOID : Entity 
	{
	 /// <summary>
	/// 实体类WorkFlow_TypeTOID 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
		public WorkFlow_TypeTOID():base("WorkFlow_TypeTOID") {}

		#region Model

		
		private int _ID;
		
		private int? _AuditID;
		
		private int? _Mtype;
		
		private int? _Tid;
		
		private bool? _IsRead;
		
		private bool? _IsOver;
		
		/// <summary>
		/// 唯一标识
		/// </summary>
		public int ID
		{
			get{ return _ID; }
			set
			{
				this.OnPropertyValueChange(_.ID,_ID,value);
				this._ID=value;
			}
		}

		
		/// <summary>
		/// 审核人ID
		/// </summary>
		public int? AuditID
		{
			get{ return _AuditID; }
			set
			{
				this.OnPropertyValueChange(_.AuditID,_AuditID,value);
				this._AuditID=value;
			}
		}

		
		/// <summary>
		/// 审核流程类型
		/// </summary>
		public int? Mtype
		{
			get{ return _Mtype; }
			set
			{
				this.OnPropertyValueChange(_.Mtype,_Mtype,value);
				this._Mtype=value;
			}
		}

		
		/// <summary>
		/// 流程ID
		/// </summary>
		public int? Tid
		{
			get{ return _Tid; }
			set
			{
				this.OnPropertyValueChange(_.Tid,_Tid,value);
				this._Tid=value;
			}
		}

		
		/// <summary>
		/// 是否阅读
		/// </summary>
		public bool? IsRead
		{
			get{ return _IsRead; }
			set
			{
				this.OnPropertyValueChange(_.IsRead,_IsRead,value);
				this._IsRead=value;
			}
		}

		
		/// <summary>
		/// 是否结束审批
		/// </summary>
		public bool? IsOver
		{
			get{ return _IsOver; }
			set
			{
				this.OnPropertyValueChange(_.IsOver,_IsOver,value);
				this._IsOver=value;
			}
		}

		
		#endregion

		#region Method
		/// <summary>
		/// 是否只读
		/// </summary>
		public override bool IsReadOnly()
		{
			return true;
		}
		/// <summary>
		/// 获取实体中的标识列
		/// </summary>
		public override Field GetIdentityField()
		{
			return _.ID;
		}
		/// <summary>
		/// 获取实体中的主键列
		/// </summary>
		public override Field[] GetPrimaryKeyFields()
		{
			return new Field[] {
				_.ID};
		}
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
			
			_.ID,

			
			_.AuditID,

			
			_.Mtype,

			
			_.Tid,

			
			_.IsRead,

			
			_.IsOver

							};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				
			this._ID,

			
			this._AuditID,

			
			this._Mtype,

			
			this._Tid,

			
			this._IsRead,

			
			this._IsOver

						};
		}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(IDataReader reader)
		{
					this._ID = DataUtils.ConvertValue<int>(reader["ID"]);
						this._AuditID = DataUtils.ConvertValue<int?>(reader["AuditID"]);
						this._Mtype = DataUtils.ConvertValue<int?>(reader["Mtype"]);
						this._Tid = DataUtils.ConvertValue<int?>(reader["Tid"]);
						this._IsRead = DataUtils.ConvertValue<bool?>(reader["IsRead"]);
						this._IsOver = DataUtils.ConvertValue<bool?>(reader["IsOver"]);
					}
		/// <summary>
		/// 给当前实体赋值
		/// </summary>
		public override void SetPropertyValues(DataRow row)
		{

				this._ID = DataUtils.ConvertValue<int>(row["ID"]);
					this._AuditID = DataUtils.ConvertValue<int?>(row["AuditID"]);
					this._Mtype = DataUtils.ConvertValue<int?>(row["Mtype"]);
					this._Tid = DataUtils.ConvertValue<int?>(row["Tid"]);
					this._IsRead = DataUtils.ConvertValue<bool?>(row["IsRead"]);
					this._IsOver = DataUtils.ConvertValue<bool?>(row["IsOver"]);
					}
		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{

		/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","WorkFlow_TypeTOID");
				/// <summary>
			/// 唯一标识
			/// </summary>
			public readonly static Field ID = new Field("ID","WorkFlow_TypeTOID","唯一标识");
					/// <summary>
			/// 审核人ID
			/// </summary>
			public readonly static Field AuditID = new Field("AuditID","WorkFlow_TypeTOID","审核人ID");
					/// <summary>
			/// 审核流程类型
			/// </summary>
			public readonly static Field Mtype = new Field("Mtype","WorkFlow_TypeTOID","审核流程类型");
					/// <summary>
			/// 流程ID
			/// </summary>
			public readonly static Field Tid = new Field("Tid","WorkFlow_TypeTOID","流程ID");
					/// <summary>
			/// 是否阅读
			/// </summary>
			public readonly static Field IsRead = new Field("IsRead","WorkFlow_TypeTOID","是否阅读");
					/// <summary>
			/// 是否结束审批
			/// </summary>
			public readonly static Field IsOver = new Field("IsOver","WorkFlow_TypeTOID","是否结束审批");
					}
		#endregion


	}
	#endregion
		
}

